Configuring how to handle unexpected windows during playback
Problems can occur during script playback if unexpected
windows are displayed. Unexpected windows such as security and warning
message dialog boxes or custom dialog boxes can cause playback failure
with exceptions such as object not found
or window
not activated
. You can configure how unexpected windows can
be handled so that scripts can be played back smoothly without interruption.
About this task
Procedure
- Click to open the Configure Handling of Unexpected Windows dialog box.
- From the Test Domain list, select
the domain for which you are configuring unexpected windows.
If you do not know the domain of the unexpected window, select All Windows to see a master list of unexpected windows with window titles for all domains. The Unexpected Window Title field lists all unexpected windows in the selected domain.
If the required window title is not listed in the Unexpected Window Title list, you can add the missing window to the list by clicking the Add Window option. An empty row is added in the Unexpected Window Title list. Double-click the cell in the empty row and type the window title. To remove a window from the list, select the corresponding window row and click Remove Window.
- Select the window for which you want to configure the action
to be taken. You can configure an unexpected window either to be closed
automatically, or have a specific action performed on it, determined
by additional recognition properties that you can define. Do one of
these procedures:
- Select the Perform close action for 'non-configured' windows check box to set the Close action for all windows that have not been configured. You can use this setting to close any unexpected windows that were not captured during recording of the script.
- After completing your configuration, click Finish to save your changes.