GetValue |
Top Previous Next |
×V5.3Ø
Syntax - GetValue <Variable Name> <App Name> <Element Identifier> Where: <Variable Name> is the user defined name that is assigned to the variable. <App Name> The name that represents an opened application. <Element Identifier> is a valid element identifier as described in Element Strings and References.
Description: This command retrieves the text information that is stored in a windows element and stores it in <Variable Name>. When the element identified by <Element Identifier> is a checkbox, the value retrieve will be "checked" if the checkbox is checked and "unchecked" if it is not checked.
Note: For security reasons, this command will not retrieve text from a password field.
Sample: The following retrieves the text information of the element identifier given and stores it in a variable named PtBalance. GetValue PtBalance RevCycle "Element[Name=Account Balance|Type=Text]"
Control Usage: Button - returns the text on the button ListItem - returns the text it contains Text - returns the text it displays CheckBox - returns checked, unchecked and mixed (if they support mixed mode) ComboBox - returns the selected item Spreadsheet - returns cell value TitleBar - returns the text on the title bar of the window or dialog
See Also: |