TypeValue |
Top Previous Next |
×V5.3Ø
Syntax - TypeValue <Value> <App Name> <Element Identifier> Where: <Value> is a literal string or a variable that contains a string value. <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 is used to enter the value specified by <Value> into the element defined by <Element Identifier>. Values are entered one character at a time, as if typing. There are some cases where a button or another element is not activated on the page until there is a click or keystrokes detected in another element. For example, on a search screen, some search criteria may need to be entered before the Search button will be enabled.
Note: If you are typing in masked fields (Date, SSN, Phone Number, etc.), it is recommended to strip out any masks in your data before using them in this command.
Sample 1: The following statement enters the name "Steve" into the first name field in the Revenue Cycle Application. TypeValue "Steve" RevCycle "Element[Name=First|Type=Edit]"
Sample 2: The following statement enters the value of the variable, FirstName, into the first name field in the Revenue Cycle Application. TypeValue FirstName RevCycle "Element[Name=First|Type=Edit]"
Control Usage: Edit Document Spreadsheet ComboBox
See Also: |