Screen Elements

Get Text

Retrieves text from the application, from the place indicated by control. Fill in custom internal application name. Drop the control on the activity. Declare the variable (type: string) and put it in Output part of properties window – it will store the value retrieved by Get Text.

The text that you want to get from the control can be placed in one of its parameters (Value, Text, Name). Therefore pay attention to the Selected Element Properties window in Virtual GUI Control tab to apply the proper activity in the scenario.

v2_scr_get-text
Parameter NameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Application NameStringInputcustom internal name Wizlink will use to identify the application window
Display NameLiteralInputchanges display name of the activity
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
Retry Timeout [s]DoubleInputdetermines behaviour if the activity fails to execute. value < 0: try executing once, 0: try indefinitely; value >0: time in seconds during which the activity repeatedly tries to execute (if time elapses without success then Result = False, end activity)
Acquired TextStringOutputtext value retrieved from application
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities