auto switch windows
Determine whether TestArchitect automatically switches among window instances.
Important:
This setting is dedicated to Generic WebDriver.- yes: Automatically switch among window instances.
- no: Do not automatically switch among window instances.
Suppose you have the following scenario:
- In the Home window, search for a new item, and then click the Search button.
The Search window is opened in a new browser window with search results. - Switch to the Search window, and perform checkpoint verifications.
Example 1: 'auto switch windows' = 'off'
With setting value OFF, you have to use 'switch window' action to switch to Search window then perform checkpoint verification
setting value
setting auto switch windows off
 
window item button
search items home page automation tools search button
 
window
switch window search page
 
window item
check search results search page automation tools
Example 2: 'auto switch windows' = 'on'
With setting value ON, you can perform checkpoint verification without switching to Search window by 'switch window' action
setting value
setting auto switch windows on
 
window item button
search items home page automation tools search button
 
window item
check search results search page automation tools
- When you open a new window instance and the auto switch window mode is on, the focus will be shifted to the newly opened window instance.
- However, when the auto switch window mode is off, the focus will stay in the current window instance. In the event that you want to interact with the newly opened window instance, you are required to explicitly use the switch window built-in action.