I'm new to Webdriver. I need to automate a scenario on Mozilla,
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_27'
I have a scenario to create a user and login with the user created. So when I login with the user created, upon login a iframe - modal dialog box displayed asking for the user to change the temporary password.
I'm not able to manipulate the webelements in the Dialog Box. Its always says "Unable to locate element".
I have used:
driver.switchTo().defaultContent();
to switch to the Dialog box.