Share
Go down
sreekumar
Active particpant
Active particpant
Posts : 16
Join date : 2011-12-27
Age : 33
Location : Hyderabad

How to use keydriven events in the selenium webdriver

on Tue Mar 06, 2012 9:13 pm
Hi All

Please give me few examples about how to use keydriven actions like (ESC, Enter, Back space,F1,...etc) using selenium webdriver.
zlos7ar
Amateur
Amateur
Posts : 41
Join date : 2012-01-13
Age : 30
Location : Germany

Re: How to use keydriven events in the selenium webdriver

on Tue Mar 06, 2012 10:32 pm
hi Im not so sure about this as I am working with selenium for 1 month only but maybe you can use something like this:

selenium.Focus("xpath of the element");
selenium.KeyPressNative("x");

where x is the ascii number of the key you want to press
ashish_techie
Amateur
Amateur
Posts : 73
Join date : 2011-08-09

Re: How to use keydriven events in the selenium webdriver

on Mon May 14, 2012 11:36 pm
Use an xls file
Specify the keywords in that
For ex keywords like click, input etc.

Please watch this video:
http://qtpselenium.com/selenium-tutorial/selenium-training-hybrid-framework/

Regards
Ashish
Sponsored content

Re: How to use keydriven events in the selenium webdriver

Back to top
Permissions in this forum:
You cannot reply to topics in this forum