The requested page is not available for selected version.
get status bar section state
Description
Retrieve the state of a status bar section.
Arguments
window
TA name of the window.
control
TA name of the status bar.
section
Integer index specifying the status bar section.
variable
Variable to receive the returned value.
Possible returned values:
- enabled
- disabled
- marquee
- resizable
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.
- A status bar section may have more than a single state. Multiple states are returned to the variable as a single, comma-delimited string.
- If the variable in argumentvariablehas not been declared, the action creates it as a global.
- 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, ignore blank space, 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
check status bar section state