Web

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.

sendkeys1
sendkeys2

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 TextStringOutputtext input by user
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Browser window nameStringInputcustom internal name Wizlink will use to identify the window
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)
SelectorStringInputcustom web selector
Text to MatchStringInputchecks whether inspected element contains given text (optional)
Selector TypeDropdownInputselect a type of custom web selector from the dropdown list
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 will return 1. See the table of Extended Result Codes for more info