Send Keys
Activity sends text to a specified webpage element.
Activity simulates human user input by sending the keyboard chracters one at a time.
Choose delay between characters (in milliseconds, 1ms=1/1000s). Text to match is an optional parameter. It is possible to send special characters: you have to convert ASCII code to character, e.g. to send TAB to control put “System.Convert.ToChar(9)” in Text parameter in Input part of Properties window.
Element can be selected manually by filling out Selector and Selector Type fields, or by dropping a previously hunted Web GUI Control on the activity block.
Acquired Text | String | Output | text input by user |
---|---|---|---|
Alternative Scenario If Failed | Boolean | Input | checkbox; default is "on" |
Browser window name | String | Input | custom internal name Wizlink will use to identify the window |
Delay [ms] | Int32 | Input | waiting time between sending characters (in milliseconds) |
Display Name | Literal | Input | changes display name of the activity |
Exclude from Transaction Check | Boolean | Input | checkbox; default is "off" |
Keystrokes | String | Input | string of characters to be sent |
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) |
Selector | String | Input | custom web selector |
Text to Match | String | Input | checks whether inspected element contains given text (optional) |
Selector Type | Dropdown | Input | select a type of custom web selector from the dropdown list |
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 |