Post

1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

By Rafaela Azevedo
Hello,
I will post a simple command that simulates a key pressed in the framework selenium RC.
selenium.keyPressNative(String.valueOf(KeyEvent.VK_TAB));
You have change the bold word for the command of key you want, in the example, we use the Tab command.
It’s simple, you can search for more commands of the keys in the google or another site of search :)
Bye bye !

Source: http://azevedorafaela.wordpress.com/2013/05/12/selenium-rc-key-event-key-pressed/

Category: Programming, QA, Test and Automation Stuffs, key event, selenium rc, selenium rc key event, selenium rc key pressed

Você também pode querer ler

Comments are off for this post.