Customization of a Windows test
To customize a recorded Windows test, you can edit the test by using the test editor. You can customize a Windows test by modifying the test steps, adding verification points, and so on.
The test scripts are displayed in the test editor. The test steps are generated as
simplified test scripts in the form of English statements which are easy to understand.
The test steps display the list of keyboard actions and UI elements that were captured
during the recording phase.
Note: The Windows test is similar to a Web UI test. If you
are familiar with the recording, editing, and playing back the Web UI tests, it is
easy for you to test a Windows application in Rational Functional Tester. See Editing Web UI tests.
The test editor has
multiple views that are explained in the following table:
View name | Description |
---|---|
Test Contents view | The area at the top left is the Test Contents view. This view displays the chronological sequence of events in the test. |
User Action Details view | The area at the top right is the User Action Details view. This view displays details about the currently selected action in the test script. In this area, you can select a graphic object and specify the action related to the object, specify how the object is identified and its location, and other such details. |
Mobile and Web UI Data view | The area at the bottom left is the Mobile and Web UI Data view, which includes two tabs: Screen Capture and Elements. The Screen Capture tab displays the graphical objects captured during the recording of each test step. To the right is the Properties view, which shows the properties of the selected object. |
You can use the Mobile and Web UI Data view to perform the following actions on the Windows test:
Actions on the Windows test | More information |
---|---|
Modifying a test step | Modifying a step in a test from the SmartShot View |
Adding verification points | Creating verification points in a test |
Adding a loop | Adding a loop |
Assigning variables to an object property | Assigning a test variable to an objects property |
Adding user actions in a test | Adding user actions in a test |
Applying the guided healing feature | Using guided healing and self-healing features to update test scripts |
Identifying the UI elements by using image property | Validating images and user interface elements by using the image property |
Modularizing test scripts | Splitting Mobile or Web UI actions |