Thanks for your command
I tried your command but it gives active element as none.Starting test: Demo.Gmail.Scripts.Test suite.Login Page.Scenario1.1Login page.testcase1
20130417 20:51:31.551 : INFO : Opening browser 'ff' to base url '
https://gmail.com'
20130417 20:51:55.943 : INFO :
Executing JavaScript:
window.document.activeElement.id20130417 20:51:56.972 : INFO : ${active-element} = None
Actually, I want id/name/attribute of currently focused element, for example when we are in login page
then there are two field one is user name and other is password, so when cursor is on username field ,press tab ,now cursor goes to password field,
So my question is" how to verify that cursor goes to password field not on other field".
Regards,
Sujata