Key Press
Sends a key press to a web element.
note
The key action can be detected on a web element only if there is a keypress event handler. No actual key will be visible. If we want to type some keys, we must use the Send keys activity.
#
Designer PropertiesSee Web Event Main Properties.
- Key The key to be sent to the web element. For special keys like Control, we must write the key as "Keys.Control". For more details please check the Virtual keys.
#
Properties#
Web Event Main PropertiesSee Designer Properties above.
#
General PropertiesSee Web Event General Properties.
#
MiscSee Misc.
#
Out ErrorSee Out Error.
#
Out Properties#
Web Event Advanced PropertiesSee Web Event Advanced Properties.
#
ExampleIn this example, we send a key press to google search input control.