Task to switch between different browser windows (if the testing application opens multiply)
This task may contain sub-tasks.
If task has sub-tasks and property "handle" is set - sub-tasks will be executed in the browser window identified by this handle
If task has sub-tasks and property "to" is set - sub-tasks will be executed against ALL existing browser windows and the current
window handle will be placed into property identified by property "to"
If task has sub-tasks and property "to" is not set - sub-tasks will be executed against default context of the current window
If task has sub-tasks and property "new" is set - new browser window will be opened
If there is no sub-tasks and property "to" is set - the current window handle (String key) will be written into the property
with name provided in property "to"
Name | Description |
---|---|
Message | |
IndexTo | |
CloseAfter | Close window after execution sub-tasks. Default - true for new window and false for others. |
New | Flag to open a new browser window. Default - false. It uses JavaScript call "window.open" to actually open the window. You may pass width and height parameters for new window. Set 'closeAfter' to 'true' if the value is not explicitly set. |
Handle | Handle for window to execute sub-tasks |
Old | List of old windows handler to detect handle of a new window |
Maximize | Maximize the window size |
All | Property name to write comma-separated handlers of all available windows |
To | Property name to write the current window handle |
Height | Set browser window height (always comes with width) |
Width | Set browser window width (always comes with height) |