Send Keys


#1

How can I pass keys for below:

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

#2

Hi,

  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’))

#3

How to press enter key in mobile keyboard?


#4

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.


#5

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