keyPress (UI Automation - Manipulation)
Compatible with:
- Purpose
- To Simulate a user pressing and releasing a key.
- Syntax
- keyPress(locator, keySequence)
- Target
- an element locator
- Value
- Either be a string("\" followed by the numeric keycode of the key to be pressed, normally the ASCII value of that key), or a single character. For example: "w", "\119".
- Return Value
- N/A