Send Keys


How can I pass keys for below:

  1. ENTER (1 key)
  2. CTRL + A ( 2 keys)
  3. CTRL + SHIFT + S (3 keys)



  1. WebUI.sendKeys(findTestObject(‘yourTestobject’), Keys.ENTER)
    2.) WebUI.sendKeys(findTestObject(‘yourTestobject’), Keys.chord(Keys.CONTROL, ‘a’))
    3.) WebUI.sendKeys(findTestObject(‘yourTestobject’), Keys.chord(Keys.CONTROL,Keys.SHIFT, ‘S’))


How to press enter key in mobile keyboard?


hamza farooq said:

How to press enter key in mobile keyboard?

hi hamza,

try this command.

Mobile.tapAtPosition(1075, 1900, FailureHandling.OPTIONAL)

i’m damm sure it will work though it is alternative way.


Hello All -
I need to key press without identifying a test object. Does anyone know how I can accomplish this? Thanks in advance!