check control property

コントロールから指定されたプロパティの値を取得し、それを期待値と比較します。
名前説明タイプ修飾子
window

ウィンドウのTA名です。

Interface Entityなし
control

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

Interface Elementなし
property

TAまたはネイティブプロパティです。(例: caption, winclass, top など)

Stringなし
expected

プロパティの期待値です。

Stringなし
結果は、値が一致する場合は「Passed」になり、一致しない場合は「Failed」になります。
このアクションは、次のプロジェクト項目で使用できます: テストモジュールおよびユーザー定義アクションです。
このアクションは、次のコントロールに適用できます: activity indicator view, button, check box, checklist, clock, collection view, collection view cell, combo box, date picker, datetime, frame, image, label, list box, list view, map view, menu, navigation bar, page control, password, picker view, picture box, progress bar, radio button, rating bar, richtext, scroll bar, scroll view, search bar, segmented control, separator, slider, spin, status bar, stepper, switch, tab bar, tab control, table, table view, table view cell, text box, text view, toggle button, toolbar, trackbar, tree view, view, web view, window, calendar.
                                
                                    	window	control	property	expected
check control property	車両を見る	利用可能な車	value	6
check control property	車両を見る	利用可能な車	raw class	javax.swing.jTextField

                                
                            
  • このアクションは、インターフェイス ビューア で表示可能なTAプロパティとネイティブ・プロパティの両方に適用できます。
  • TAプロパティとネイティブ・プロパティが同じ名前の場合、TAプロパティが優先されます。したがって、ネイティブ・プロパティを明示的にチェックしたい場合は、アクション check native property を使用します。
  • このアクションは、TestArchitect のインターフェイス ビューアで表示可能なプロパティにのみ適用できます。
  • 引数 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