I am having a problem on handling google authentication pop up window in robot framework.
The process I want to automate is -
- When a button( Sign in with google) is clicked , google authentication pop up window appears
- Then I have to enter my username and password
- Then click sign up button
While running the robot framework test script , everything working fine upto clicking the 'Sign in button', but after that am not able to view the Google-authentication window in browser !
I found some similar questions around here , but those solutions didn't work for me.
Here is my test script -
*** Settings *** Library Selenium2Library Test Setup Open Browser http://xyz.com firefox Test Teardown Close All Browsers *** Test Cases *** Test1 Open xyz and verify login *** Keywords *** Open xyz and verify login Maximize Browser Window Click Element id=my-signin2 #To click 'Sign in with google' link in main page Select WIndow title=Sign in - Google Accounts #To select the new pop up window Input Text id=username username Input Text id=pswd pswd Click Button id=signup
Now, While running the test case getting an error like this -
"Keywords select window fails"
Value Error : Unable to locate window with title 'Sign in - Google accounts " !
I have also tried with Url instead of title , that also didn't work !
I have searched a lot for this issue in google, but didn't get any proper solution for this particular issue.
I hope you guys can help me to solve this issue
Thank you !