Send Keys

How can I pass keys for below:

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

Comments

  • 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'))

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion