Web

Get Text

Retrieves text from the website, from the place indicated by GUI element.
Fill in the custom browser window name. Drop the control on the activity. Text to match is an optional parameter. Declare the variable (type: string) and put it in Output part of properties window – it will store retrieved value of specified text web element.

v2_web_gettext
Parameter NameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Browser window nameStringInputcustom internal name Wizlink will use to identify the window
CSS SelectorStringInputCSS selector
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)
Text to MatchStringInputchecks whether inspected element contains given text (optional)
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