switch frame by destination

現在のフレームの親フレームまたはメインフレーム(既定のコンテンツ)にフォーカスを切り替えます。(詳細について、こちらを参照してください)

重要: 
このアクションは Generic WebDriver 専用です。

名前説明タイプ修飾子
destination

フォーカスを切り替えたいフレームです。

許容値: 

  • parent: 現在のフレームの親です。
  • main: メインフレームです。

Value Setparent, main
なし
このアクションは、次のプロジェクト項目で使用できます: テストモジュールおよびユーザー定義アクションです。
                                
                                    	frame path		
switch frame by path	#cf_switch frame 5		
	&nbsp		
	window	control	value
set	frame multi level	frm5_radio female	on
	&nbsp		
	window	control	value
check	frame multi level	frm5_radio female	on
	&nbsp		
	destination		
switch frame by destination	parent		
	&nbsp		
	window	control	value
enter	frame multi level	frm4_input password	123456
	&nbsp		
	window	control	value
check	frame multi level	frm4_input password	123456
	&nbsp		
	destination		
switch frame by destination	main		
                                
                            
  • このアクションは汎用の WebDriver に対して設計されています。
  • 複数のフレームが存在するウェブページにおいて、要素を特定する前にその要素を含むフレームにフォーカスを切り替える必要があります。
  • 現在のフレームが「フレーム 2」であると仮定します: 

    • もし親フレームに切り替えると、新しい現在のフレームは「フレーム 1」になります。

    • もしメインフレームに切り替えると、新しい現在のフレームは「メインフレーム」になります。


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