check control tooltip

コントロールのツールチップテキストをキャプチャし、期待される文字列と比較します。
名前説明タイプ修飾子
window

ウィンドウのTA名です。

Interface Entityなし
control

コントロールのTA名です。

Interface Elementなし
item

(任意、タブコントロールの場合に適用)タブ項目は、その名前プロパティの値によって識別されます。

Stringなし
expected

期待されるツールチップのテキストです。

Stringなし
x

(任意)コントロールの左端からのピクセル単位の水平位置として指定です。

デフォルト値: コントロールの水平中心
Stringなし
y

(任意)コントロールの上端からのピクセル単位の垂直位置として指定です。

デフォルト値: コントロールの垂直中心
Stringなし
type

(任意)ツールチップの表示を誘発するために必要なコントロール上のインタラクションの種類です。

許容値: 

  • click
  • move

Value Setclick, move
waittime

(任意)ツールチップが表示されるまでの待機時間です。(単位: ミリ秒)

Stringなし
値が一致する場合は「Passed」になり、それ以外の場合は「Failed」になります。
このアクションは、次のプロジェクト項目で使用できます: テストモジュールおよびユーザー定義アクションです。
次の設定はこのアクションに適用可能です:  case sensitive, remove double quotes from cells, standard ASCII only, page wait, object wait, value changed wait, window wait.
このアクションは、次のコントロールに適用できます: button, check box, checklist, combo box, datetime, frame, label, list box, list view, menu, password, picture box, progress bar, radio button, richtext, scroll bar, separator, spin, status bar, tab control, table, text box, toggle button, toolbar, trackbar, tree view, window, calendar.
                                
                                    	window	control	item	expected	x	y	type	waittime
check control tooltip	車両を見る	利用可能な車		Currently available cars				
                                
                            
  • 必要に応じて、ツールチップのテキストにアクセスするために x,y 座標、type、および/または引数 waittime を使用してください。
  • 引数 expected は正規表現を受け入れることができます。正規表現を含む引数の値は、必ず中括弧 {} で完全に囲まれている必要があります。例えば、{[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}} は許容されるなメールアドレスのパターンを指定しています。簡単に言うと、.* は正規表現の一般的なワイルドカードを表し、{.*arch.*}starch, marching, testarchitect などに一致します。
  • このアクションは修飾子 <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