I am having an issue while working on the Keyboard shortcuts
When i run them manually using browser they are working but when i automate and run the test cases appropriate action is not being executed for the keyboard shortcuts
I am using the following code:
selenium.keyPress(ENTRIES, "j"); // select the first item
selenium.keyPress(ENTRIES, "\106"); // go back to the first item
I have even tried with using the Ascii values instead of characters and used other key events keyUp,KeyDown.
But no action is initiated on the browser for the keyboard shortcut.
I testing on a Linux machine and FireFox browser.
I have tried using
// for "u" and expected action is collapse/expansion of the toggler
// for "r" and expected action page refresh
I even tried using keyUp and keyDown() events for the same values but no action triggered.
Can anyone help me in resolving this issue?