Relevant for: GUI tests and scripted GUI components
The Active Screen pane enables you to view snapshots of your application as it appeared during a step in a recording session.
Use the Active Screen when you want to view the application state during a particular step in the test, or if you need to add steps, checkpoints, or output values after editing and running the test.
The Active Screen enables you to add these additional steps without the need to have the application open.
View objects, or insert steps, output values, and checkpoints, by right-clicking the object in the Active Screen and selecting the relevant option. To insert steps, select Step Generator.
When you are recording on an MDI (Multiple Document Interface) application, the Active Screen does not capture information for non-active child frames.
If you are testing an application using a UFT add-in, see the Unified Functional Testing Add-ins Guide to determine whether special Active Screen screen capture options exist for that environment.
Save the content of the Active Screen with your test if you want to edit the saved test directly from the Active Screen.
If you need to conserve disk space after you finish editing the test, and you plan to use the test only for test runs you can save the test again without the content of the Active Screen.
For steps that contain Insight test objects, the Active Screen provides only a visual reference to the application and the test object's context. The Active Screen displays the Insight test object highlighted within a screen capture of its parent object.
You cannot use the Active Screen of an Insight step to view object properties, to insert checkpoints or output values, or to add objects to the object repository.
The OCR text recognition mechanism is not supported for objects in the Active Screen.
When creating objects, checkpoints, or output values from the Active Screen for objects in a modal dialog box within a Web browser, they are created under the Browser object and not under the Window object.
Workaround: Add the object directly from the application, for example by using the Add Objects to Local button in the Object Repository window.
The Active Screen displays the captured HTML content using an Internet Explorer browser control, even if you ran your steps on another browser.
Additionally, depending on your settings, the Active Screen may capture your HTML page before or after various scripts ran on the page.
Some pages may look slightly different in the Active Screen than they appeared during your record or update run session, and some property values may be different or may not be available.
UFT stores the URL path to images and other resources on the page, rather than downloading and storing the images with your test. Therefore, you may need to provide login information to view password-protected resources in the Active Screen.
When you stop saving Active Screen information, Active Screen files are no longer saved, and you can no longer edit your test from the Active Screen.
Open the relevant test.
Select File > Save As and clear the Save Active Screen files check box.
Click Save to apply your changes.
Make sure that your application is displaying the window or page that you want to use to replace what is currently displayed in the Active Screen pane.
In the Keyword View, click a step that you want to change. The window or page is displayed in the Active Screen pane.
Select Tools > Change Active Screen. The UFT window is hidden and the mouse pointer becomes a pointing hand.
Click the window or page displayed in your application.
When a message prompts you to change your current Active Screen display, click Yes.