Active Screen Pane (Options Dialog Box > GUI Testing Tab)

Relevant for: GUI tests only

This pane enables you to specify which information UFT One saves and displays in the Active Screen while recording and running tests.

Access the Active Screen options pane

To configure the Active Screen options, select Tools > Options > GUI Testing tab > Active Screen node.

Back to top

When to use the Active Screen

The more information you capture, the easier it is to edit the test after recording, using the many Active Screen options.

However, more captured information also leads to slower recording and editing times and additional disk space requirements. This is especially critical with Windows-based add-ins, as they require more disk space to save Active Screen data.

Removing or decreasing Active Screen information can be especially useful for conserving disk space after you have finished designing the test and you are using the test only for test runs.

Apply updated options to a test by using Update Run mode or re-recording the steps.

Back to top

Capture level options

The following options enable you to specify the objects for which UFT One stores data in the Active Screen.

Use the slider or buttons to select one of the following options:

Complete

Captures all properties of all objects in the application's active window/dialog box/Web page in the Active Screen of each step.

This level saves Web pages after any dynamic changes and saves Active Screen files in a compressed format.

Partial

Captures the following:

  • All properties, of all objects in the application's active window/dialog box/Web page in the Active Screen of the first step performed in an application's window
  • All properties of the recorded object in subsequent steps in the same window.

This level saves Web pages after any dynamic changes and saves Active Screen files in a compressed format.

Minimum (default)

Captures properties only for the recorded object and its parent in the Active Screen of each step.

This level saves the original source HTML of all Web pages (prior to dynamic changes) and saves Active Screen files in a compressed format.

None Disables capturing of Active Screen files for all applications and Web pages.
Custom level button

Specify custom Active Screen options.

For details, see Custom Active Screen Capture Settings Dialog Box.

Default level button Restore the capture level settings to the predefined default level.

Back to top

Appearance (Web) options

The following options enable you to define how UFT One displays captured Web pages in the Active Screen.

Run scripts

Specifies whether UFT One is enabled to run scripts automatically when a page is loaded in the Active Screen, according to one of the following options:

  • Enabled. Runs scripts whenever loading a page in the Active Screen.
  • Automatic. Runs scripts as needed, according to the page that is displayed.
  • Disabled. Prevents scripts from running when loading a page in the Active Screen.

This option does not enable you to active scripts in the Active Screen by performing an operation on the screen.

Disabled by default for the Web 2.0 ASPAjax Add-in.

Load ActiveX controls

Instructs UFT One to load ActiveX controls from your browser page to the Active Screen, so that for each step you can preview how the page is actually displayed in the application.

If this option is cleared, a default ActiveX image is displayed in the Active Screen for all ActiveX control objects.

Load images

Instructs UFT One to load images from your browser page to the Active Screen.

Load Java applets

Instructs UFT One to load Java applets from your browser page to the Active Screen, so that for each step you can preview how the page is actually displayed in the application.

If this option is cleared, a default Java image is displayed in the Active Screen for all Java applet objects.

Back to top

See also: