set volume

オーディオとビデオコントロールの音量を設定します。
名前説明タイプ修飾子
window

ウィンドウのTA名です。

Interface Entityなし
control

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

Interface Elementなし
volume

(任意)音量レベルです。(有効範囲: 0~100)

デフォルト値: 0
Stringなし
なし
このアクションは、次のプロジェクト項目で使用できます: テストモジュールおよびユーザー定義アクションです。
次の設定はこのアクションに適用可能です:  case sensitive.
このアクションは、次のコントロールに適用できます: Audio, Video.
                                
                                    	window	control	volume	
set volume	sub forms	audio_controltest	100	
&nbsp				
	window	control	property	expected
check control property	sub forms	audio_controltest	volume	100
                                
                            
  • このビルトインアクションは、HTML5 オーディオ/ビデオコントロールにのみ適用されます。
  • このアクションでゼロ以外のボリュームを設定しても、コントロールのミュート状態は上書きされないことに注意してください。必要に応じて、アクション set media property を使用して、コントロールのミュートを解除します。
  • このアクションは修飾子 <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