check status bar section state
Description
Check the state of a status bar section against an expected value. Result is Passed ifthe values match; otherwise Failed.
Arguments
window
TA name of the window.
control
TA name of the status bar.
section
Integer index specifying the status bar section.
expected
Expected state of status bar section.
Allowable values:
1 or enabled
Status bar section is enabled.
0 or disabled
Status bar section is disabled.
Valid contexts
This action may be used within the following project items: test modules and user-defined actions.
Notes
- This action supports .NET (not including WPF) tested applications.
- In the case of the section argument, note that index numbering begins with 1, and proceeds from left to right.
- 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.
Applicable Built-In Settings
The following settings are applicable to this action: case sensitive, remove double quotes from cells, standard ASCII only, object wait, value changed wait, window wait, load invisible controls.
Applicable Controls
This action is applicable to the following controls: status bar.
Example
Action Lines
Result
Related information