Click to go to this lesson to create a GUI test. Click to go to this lesson to create object repositories for your test. Click to go to this lesson about running your GUI test. Click here to go to the lesson on parameterizing test steps. Click here to go the lesson on creating checkpoints and output values. Click here to go to the lesson on creating and using functions in your test.

Advanced Exercise 3e (Optional) - Add steps using the Editor

In addition to adding steps to your test through the Keyword View, the Toolbox pane, or the Step Generator, you can also add steps directly into the Editor.

However, when adding steps through the Editor, you must have a greater knowledge of both your application and your test objects. In the Keyword View, Toolbox pane, and Step Generator, all the information for your test objects is provided in the dialog boxes by UFT. In the Editor, you must know a number of things:

  • The full test object hierarchy for your objects

  • The name of the test objects (as recorded in the Object Repository)

  • The type of the test objects, i.e. WpfWindow, WpfButton, etc.

  • The method to use

You use this information to create lines in the Editor. In this lesson, you will learn where to find this information and how to enter it into the Editor to make test steps.

You will create statements in the Editor for an action which already has test steps.

Next steps: