Enabling the unexpected window handling feature

You can enable the unexpected window handling feature to ensure that scripts playback smoothly. When you enable this feature, unexpected windows that open during script playback are handled according to the configuration in the Configure Handling of Unexpected Windows dialog box.

Before you begin

Ensure that each unexpected window in the test domain has been configured in the Configure Handling of Unexpected Windows dialog box. By configuring all unexpected windows, the configured action is performed when a window opens unexpectedly during script playback.

Procedure

  1. In the product menu, click Window > Preferences to open the Preferences dialog box.
  2. Expand Functional Test, and then click Playback.
  3. Click Unexpected Windows.
  4. Select the Enable handling of unexpected windows check box.
    Note: When you enable the unexpected window handling feature in the Preferences dialog box, it applies to all scripts in the Integrated Development Environment. You can override this preference for an individual script in the Select Log page, when you run the script.