Web

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.

v2_web_sendkeys
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
Delay [ms]Int32Inputwaiting time between sending characters (in milliseconds)
Display NameLiteralInputchanges display name of the activity
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
KeystrokesStringInputstring of characters to be sent
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)
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