Maintain tests or components

Relevant for: GUI tests and components

Tests or components fail when OpenText Functional Testing encounters a step it cannot perform or the results of a step indicate failure. As a result, OpenText Functional Testing enables you to maintain and update these test and components.

You can encounter many types of errors.

Application errors

In many cases this is due to the application being tested not functioning properly, such as when checkpoints encounter conditions in the application being tested that are unexpected.

OpenText Functional Testing then provides you with run results that assist you in understanding how to fix your application.

Back to top

Application changes

Sometimes a test or component fails because the application being tested has changed and the test or component needs to be updated to reflect those changes.

For checkpoints, use Update Run Mode to update the checkpoints in your test or component to reflect changes in the application.

Example: For example:

  • Suppose your application has an edit box whose default value used to be <Enter value>.

  • You have a checkpoint that checks this value before a new value is entered in the edit box.

  • If the default value in the application changes to be <Enter name> then your checkpoint will fail.

Update Run Mode enables you to update the expected values of your checkpoint to reflect the change in the application.

For details, see Update Run mode.

Back to top

Missing objects

Your object repository may also be missing some of the objects it needs to run the test.

OpenText Functional Testing provides tools that help identify and resolve some of these issues.

The object does not exist in the application

OpenText Functional Testing cannot find an object in the application that matches the description of the object in the object repository.

The Maintenance Run Wizard enables you to identify the object that you want your test or component to use.

The parent object changed

OpenText Functional Testing cannot find an object in the application that matches and has the same hierarchy as the object in the object repository.

The Maintenance Run Wizard enables you to identify the object that you want your test or component to use.

The object description property values changed

OpenText Functional Testing cannot find an object in the application that is similar to, and has the same description property values as the object in the object repository.

The Maintenance Run Wizard enables you to identify the object that you want your test or component to use.

The object does not exist in the object repository

OpenText Functional Testing looks for the object to which the test or component refers, in the associated object repositories before attempting to identify that object in the application.

If the object in your test or component cannot be found in any associated object repository, the Maintenance Run Wizard enables you to identify the object in your application that you want to add to your repository and use in your test or component.

For details, see Maintenance Run mode.

Back to top