target browser instance

ビルトインアクション navigate が、新しいタブを開くか、新しいウィンドウインスタンスを開くか、現在アクティブなインスタンスを新しい URL で上書きするかを決定します。
重要: 
この設定は Generic WebDriver 専用です。

  • existing: 現在アクティブなブラウザのインスタンスを新しい URL で上書きします。
  • new window: 新しい URL を新しいウィンドウで開きます。
  • new tab: 新しい URL を新しいタブで開きます。

デフォルト値: existing

次のようなシナリオがあると仮定します::

  1. Google 検索を開いてテストアクションを実行します。
  2. 新しいタブで Wikipedia を開き、テストアクションを実行します。
  3. 現在アクティブなウェブインスタンスで Yahoo メールを開き、現在の URL を上書きします。

        
        	setting	value
setting	use browser	Chrome
&nbsp		
	setting	value
setting	webdriver mode	on
        
    
        
        	location	window	handle
navigate	https://www.google.com		
&nbsp			
	setting	value	
setting	target browser instance	new tab	
&nbsp			
	location	window	handle
navigate	https://www.wikipedia.org		
&nbsp			
	setting	value	
setting	target browser instance	existing	
&nbsp			
	location	window	handle
navigate	https://mail.yahoo.com		
        
    
  • このビルトイン設定は、ビルトインアクション navigate の引数 window が省略された場合にのみ有効になります。
  • ビルトインアクション navigate の引数 window が指定の場合、URL がナビゲートされる正確なブラウザ ウィンドウを選択します。
  • プロジェクトの後方互換性をサポートするために、必要であれば、このビルトイン設定を希望の値でスタートアップ設定として使用することもできます。

Copyright © 2024 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 (650) 572-1400