GetTextFromDialog |
Top Previous Next |
×V4.1Ø
Syntax - GetTextFromDialog <Variable Name> <Dialog Type> <Timeout> Where: <Variable Name> is the user defined name that is assigned to the variable. <Dialog Type> is a literal string or a variable that contains a literal string of value "ALERT" <Timeout> is a integer or a variable that contains an integer.
Description: This command retrieves the text information that is stored in a windows dialog and stores it in <Variable Name>. The only dialog type supported is "ALERT". The timeout value (in milliseconds) is used to tell the script how long to wait for the dialog.
Note: This command currently works with the ALERT dialog only.
Soarian SmartUI: No Chrome: No
Sample Alert Dialog: The following statement retrieves the text from the alert dialog and stores it in a variable named DialogMessage.
GetTextFromDialog DialogMessage "Alert" 1000 |