get selected count

複数選択コントロール(リストボックスまたはリストビュー)で選択された項目の数を取得します。
名前説明タイプ修飾子
window

ウィンドウのTA名です。

Interface Entityなし
control

リストボックスまたはリストビューコントロールのTA名です。

Interface Elementなし
variable

(任意)戻り値を受け取る変数です。

Stringなし
複数選択コントロールで選択された項目の数です。
このアクションは、次のプロジェクト項目で使用できます: テストモジュールおよびユーザー定義アクションです。
このアクションは、次のコントロールに適用できます: list box, list view.
                                
                                    	interface		
use interface	Music Library		
&nbsp			
	window	control	variable
get selected count	search	songs list	i
                                
                            
  • 引数 variable:
    • 返される値が 0 の場合、指定されたコントロールで選択された項目がないことを示します。
    • 引数 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