Send Keys
This activity sends text to given web element (control) as a series of keyboard characters typed one at a time (simulates human behavior).
Fill in the custom browser window name. Drop the control on the activity. 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.
Parameter name | Parameter Type | In/Out | Description |
---|---|---|---|
Alternative Scenario If Failed | Boolean | Input | checkbox; default is "on" |
Browser window name | String | Input | custom internal name for particular browser window, in order to use in Wizlink® |
Delay | Int32 | Input | waiting time between sending characters (in milliseconds) |
DisplayName | Literal | Input | you can change the name of activity for greater clarity of the scenario |
Keystrokes | String | Input | string of characters to be sent |
Retry timeout [s] | Double | Input | waiting 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 |
Text to match | String | Input | checks whether inspected element contains given text (optional parameter) |
Result | Boolean | Output | returns the Boolean value: it will return True if no error is in activity, otherwise it will return False |
Result Code | Int32 | Output | Result 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 |