control condition wait

control condition wait の条件を満たすためのTAプロパティの最大待機時間を設定します。
デフォルト値: 5 秒
このビルトイン設定は、ビルトイン設定 control condition と組み合わせて使用される場合にのみ効果を発揮します。

以下の手順でフライト予約ウェブページをテストすると仮定します: 

  1. departure コントロールをクリックして、出発日を選択します。
  2. 出発日が選択されると、ある一定の時間後にページは arrival コントロールも有効にします。これも入力テキストです。
  3. その後、arrival をクリックして到着日を選択します。

通常、宣言したテスト手順は、arrival コントロールが一定の時間後に有効になるタイミングの問題を処理しないかもしれません。その結果、自動化再生中に、arrival コントロールがまだ有効になっていなくても表示されていない場合、UIインタラクティブなアクションがそのコントロールと対話する可能性があり、これが自動化の失敗の原因となる可能性があります。

control condition と control condition wait を使用して、入力テキストコントロールの準備状態(visible=true、enabled=true)を定義しましょう。

        
        	setting	value	
setting	control condition wait	7	
setting	control condition	[ta class=input-text, visible=true, enabled=true]	
&nbsp			
	setting	value	
setting	use browser	Chrome	
&nbsp			
	location	window	handle
navigate	http://vietjetair.com/		
&nbsp			
	ưindow	control	click type
click	home	departure	left
click	home	arrival	left
        
    
  • TAプロパティおよびそれらの条件は、ビルトイン設定 control condition で定義されています。

Copyright © 2025 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