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.

Default Value: no

Suppose you have the following scenario:

  1. 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.
  2. 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	
&nbsp			
	window	item	button
search items	home page	automation tools	search button
&nbsp			
	window		
switch window	search page		
&nbsp			
	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	
&nbsp			
	window	item	button
search items	home page	automation tools	search button
&nbsp			
	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.

Copyright © 2023 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1(800) 322-0333