5.3.1.8. Select Window with Identifier
Prev | 5.3.1. Actions that execute behavior - HTML toolkit | Next

#### 5.3.1.8. Select Window with Identifier

Use this action to switch to a new window that your HTML AUT has opened during the test, or to switch back to the main window once you have performed steps in a second window. Without using Webdrivers, in order to allow this, you must have specified the AUT as supporting multi-window mode in the AUT configuration.

This action allows you to use the window title or other identifiers to select the window. The behavior is different depending on whether you use Webdrivers.

- Without Webdrivers, you can set the identifier type to title, name or any. If title or name is used, the window is selected using these properties. However, if you choose any, then as identifier, you must enter an expression of the form `'var=variable_name'`. In this case the current window is searched for a variable with name `variable_name`, and if it contains a popup window's reference, that popup window is opened.

- With Webdrivers, the only available options are title and name, which work the same way as explained above.

Parameters:

- Identifier

- Identifier Type