Testing Your Support for Screen Captures

After implementing the methods required to support Active Screen and step screen capture, you can test this functionality of your Testing Agent.

To test your support for Active Screen capture:

  1. Do the following, as described in Testing Your Support for the Object Spy or OIC:

    1. Ensure that the Testing Agent and UFT One are closed and upgrade the Testing Agent.

    2. Open UFT One and run the Testing Agent.

    3. Run an application with objects from your environment.

  2. In the Active Screen pane of the Options dialog box in UFT One (Tools > Options > GUI Testing tab > Active Screen node), set the Capture level to a value other than None. In addition, set the Save still image capture to results in the Run > Screen Capture pane to Always.

  3. Record a step on your application and verify that the Active Screen is captured correctly. Run the test on your application and verify that the step screen capture is correctly added to the run results report.

  4. Repeat the previous steps with different settings in the Options dialog box and verify that the Active Screen is captured appropriately.