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.
Ensure that each unexpected window in the test domain has
been configured in the Configure Handling of Unexpected Windows . By configuring all unexpected windows, the configured action
is performed when a window opens unexpectedly during script playback.
- In the product menu, click to open the Preferences
dialog.
- Expand Functional Test, and then
click Playback.
- Click Unexpected Windows.
- Select the Enable handling of unexpected windows check
box.
Note: When you enable the unexpected window handling
feature in the Preferences dialog, 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.