Terminals

Get Text from Terminal

Retrieves text from the terminal window, from the place indicated by GUI element (control).
Fill in the terminal name. Drop the control on the activity. Declare the variable (type: string) and put it in Output part of Properties window – it will store retrieved value of specified element (control).

v2_term_gettext1
Parameter NameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Display NameLiteralInputyou can change the name of activity for greater clarity of the scenario
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
Offset HorizontalInt32Inputnumber of characters by which the beginning of the hunted control is moved in the line (+/-)
Offset VerticalInt32Inputnumber of rows by which the beginning of the hunted control is moved (+/-)
Retry timeout [s]DoubleInputwaiting time until the activity will execute: 1. any negative value means try once, if you fail – set Result to False and finish activity; 2. “0” means try until you get the effect; 3. any positive value is time in seconds in which the activity will persist trying until successful or the time elapses, if failed – set Result to False and finish activity
Terminal NameStringInputcustom internal name for terminal, in order to use in Wizlink
Acquired TextStringOutputtext value retrieved from application
ResultBooleanOutputreturns the Boolean value: it will return True if no error is in activity, otherwise it 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