Enhance your tests

Relevant for: GUI tests only

After creating an initial test, you can further enhance it by adding and modifying steps in the Keyword View or the Editor.

Checkpoints

Add checkpoints to your test to compare specified items during a run session with the values stored for the same items within the test.

Checkpoints enable you to identify whether or not your application is functioning correctly, and have several types. For details, see Checkpoints in GUI Testing.

Tip: You can also use the CheckProperty method, which enables you to verify the property value of an object without using the checkpoint interface.

Back to top

Parameterization

Parameterizing your test is when you replace fixed values with values from an external source during your run session.

Do this to test the same operations with different data.

You can supply data from a data table, environment variables you define, or values that UFT One generates during the run session.

For more details, see Parameterize object values.

Back to top

Output Values

Retrieve values from your test and store them in the data table as output values to subsequently use these values as an input parameter in your test.

For more details, see Output values in GUI testing.

Back to top

Programming Statements

Use special UFT One options to enhance your test with programming statements.

  • The Step Generator guides you step-by-step through the process of adding recordable and non-recordable operations (methods and properties) to your test.

  • Synchronize your test to ensure that your application is ready for UFT One to perform the next step in your test.

  • Measure the amount of time it takes for your application to perform steps in a test by defining and measuring transactions.

For more details, see Programming Operations.

You can also manually enter standard VBScript statements, as well as statements using UFT One test objects and operations. For details, see Programming Tests.

Back to top

Active Screen Updates

As the content of your application changes, update the selected Active Screen display.

Then, use the Active Screen to add new steps to your test instead of re-recording steps on new or modified objects.

For details, see Update test object descriptions, checkpoints, or output values, or Active Screen captures.

Back to top