check selected count

複数選択コントロール(リストボックスやリストビューなど)で選択された項目の数を、予想される数を比較して確認します。選択された項目の数が予想される数と一致する場合は「Passed」になり、それ以外の場合は「Failed」になります。
名前説明タイプ修飾子
window

ウィンドウのTA名です。

Interface Entityなし
control

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

Interface Elementなし
expected

選択した項目の予想数です。

Stringなし
選択された項目の数が予想される数と一致する場合は「Passed」になり、それ以外の場合は「Failed」になります。
このアクションは、次のプロジェクト項目で使用できます: テストモジュールおよびユーザー定義アクションです。
このアクションは、次のコントロールに適用できます: list box, list view.
                                
                                    	interface		
use interface	Music Library		
	window	control	expected
check selected count	search	songs list	3
                                
                            
  • 項目が選択されていないことを確認するため、予想される引数を0に設定します。
  • このアクションは修飾子 <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