Post

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

By Rafaela Azevedo
Hello guys !
This is a simple command to turn on or turn off the caps lock during the automation
java.awt.Toolkit.getDefaultToolkit() .setLockingKeyState(KeyEvent.VK_CAPS_LOCK, true);

You have the change the bold word for on or off :)
Ok, that is all !
Bye !

Source: http://azevedorafaela.wordpress.com/2013/05/12/turn-on-caps-lock-in-automation/

Category: Programming, QA, Test and Automation Stuffs, caps lock key, capslock, java, seenium turn on caps, set on/off caps lock

Você também pode querer ler

Comments are off for this post.