get window property

ウィンドウの指定のプロパティの値を取得します。
名前説明タイプ修飾子
window

ウィンドウのTA名です。

Interface Entityなし
property

値を取得するプロパティです。

Stringなし
variable

戻り値を受け取る変数です。

Stringなし
ウィンドウの指定されたプロパティの値です。
このアクションは、次のプロジェクト項目で使用できます: テストモジュールおよびユーザー定義アクションです。
次の設定はこのアクションに適用可能です:  case sensitive, ignore blank space, remove double quotes from cells, standard ASCII only, value changed wait, window wait.
のアクションは、次のコントロールに適用できます: window.
                                
                                    	window	property	variable
get window property	ログイン	title	s1
get window property	ログイン	visible	s2
get window property	ログイン	maximized	s3
&nbsp			
	value	expected	
check value	#s1	Car Rental-ログイン	
check value	#s2	True	
check value	#s3	False	
                                
                            
  • 引数 variable が宣言されていない場合、アクションはその変数をグローバルとして作成する。
  • このアクションは修飾子 <ignore> をサポートしています。引数のいずれかの値として文字列 <ignore> が含まれているか、或いはどの引数かが <ignore> に評価される式を含んでいる場合、そのアクションは実行中にスキップされます。

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