set volume
Set volume for audio and video controls.
Name | Description | Type | Modifier |
---|---|---|---|
window | TA name of the window. | Interface Entity | None |
control | TA name of the audio or video control. | Interface Element | None |
volume | (Optional) Volume level (valid range: 0 to 100). Default Value: 0 | String | None |
None
This action may be used within the following project items: test modules and user-defined actions.
This action is applicable to the following controls: Audio, Video.
window control volume
set volume sub forms audio_controltest 100
 
window control property expected
check control property sub forms audio_controltest volume 100
- This built-in action applies to HTML5 audio/video controls only.
- Note that setting a non-zero volume with this action does not override the muted status of the control. If necessary, use action set media property to unmute the control.
- This action supports the <ignore> modifier. If the string
<ignore>
is present as the value of any of the arguments, or any argument contains an expression that evaluates to<ignore>
, the action is skipped during execution.