Generic Set Text Relative
This activity sets text to the application (with moving focus to the end of the string). The string to set put in the Text textbox in an Input part of Properties window.
When both: Set text and Generic set text do not work - consider using this activity. Generic Set Text Relative activity allows you to click any point inside the application by reference to specified X and Y coordinates, and then append text to that place.
The parameter Window Corner allows you to choose the reference corner of the control - horizontal and vertical offset will be calculated from that point. Positive numbers increase offset value to the right (X) and to the bottom (Y) while negative numbers to the left (X) and to the top (Y). The offset is measured in pixels.
Fill in the application custom internal name. Drop the control on the activity.
To successfully use Generic Set Text Relative activity be sure that position of application on screen (and control's edges as well) during building the scenario and in production environment is exactly the same. Check the screen resolution - it has to be the same during building the scenario and in production environment.
Acquired Text | String | Output | text input by user |
---|---|---|---|
Alternative Scenario If Failed | Boolean | Input | checkbox; default is "on" |
Application Name | String | Input | custom internal name Wizlink will use to identify the application window |
Display Name | Literal | Input | changes display name of the activity |
Exclude from Transaction Check | Boolean | Input | checkbox; default is "off" |
Result | Boolean | Output | returns a Boolean value. True if no error in activity, otherwise will return False |
Result Code | Int32 | Output | Result Code will return 0 if there is no error in activity, otherwise in most cases will return 1. See the table of Extended Result Codes for more info |
Retry Timeout [s] | Double | Input | determines 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 | String | Input | string of characters to send to application |
Window Corner | Dropdown | Input | select offset start point from the dropdown list |
X coordinate | Int32 | Input | horizontal offset |
Y coordinate | Int32 | Input | vertical offset |