How to Switch to new window through scripting
|
06-10-2020, 08:42 PM
Post: #1
|
|||
|
|||
How to Switch to new window through scripting
I am testing one application which has ms ad login. When I am hitting the URL one new window is popping up where I need to provide the credential. I am not sure how to switch to that window.
Can you please prove me any solution for this. I am using the below code which is getting failed. logData 0 // put URL to navigate navigate https://uipt.qa.dna.informa-labs.com sleep 3 //Login Info logData 1 setValue name=loginfmt <email> submitForm id=idSIButton9 setValue name=passwd <password> submitForm id=idSIButton9 submitForm id=idSIButton9 |
|||
06-11-2020, 12:52 AM
Post: #2
|
|||
|
|||
RE: How to Switch to new window through scripting
You can't. WebPageTest block pop-ups and new windows and only supports single-window testing.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)