get native property

指定されたコントロールのネイティブプロパティの値を取得します。
名前説明タイプ修飾子
window

ウィンドウのTA名です。

Interface Entityなし
control

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

Interface Elementなし
property

コントロールのネイティブプロパティです。

Stringなし
variable

(任意)返された値を受け取る変数です。

Stringなし
指定されたコントロールのネイティブプロパティの値です。
このアクションは、次のプロジェクト項目で使用できます: テストモジュールおよびユーザー定義アクションです。
このアクションは、次のコントロールに適用できます: button, check box, checklist, clock, combo box, datetime, frame, label, list box, list view, menu, password, picture box, progress bar, radio button, rating bar, richtext, scroll bar, separator, spin, status bar, tab control, table, text box, toggle button, toolbar, trackbar, tree view, window, calendar.
                                
                                    	window	control	property	variable
get native property	main	button test	FontSize	var_size
get native property	main	button test	FontFamily	var_family
                                
                            
  • TestArchitect はネイティブプロパティにアクセスできる一方で、非常に注意して使用する必要があります。なぜなら、ネイティブプロパティへのアクセスは、AUT内で重要な或いは安全でない操作を実行する可能性があり、AUTの現在の状態を変更するかもしれないからです。
  • 引数 property: ネイティブプロパティは、インターフェイス ビューアネイティブプロパティ タブで見つけることができます。
  • 引数 variable:
    • 引数 variable の変数が宣言されていない場合は、そのアクションはそれをグローバルとして作成します。
    • 引数 variable が空の場合は、 TestArchitect は「_result」という名前のグローバル変数に値を供給します。
  • このアクションは <ignore> 修飾子をサポートしています。引数のいずれかの値として文字列 <ignore> が含まれているか、或いはどの引数かが <ignore> に評価される式を含んでいる場合、そのアクションは実行中にスキップされます。

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