Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
Sanjay S
Regular Participant
Regular Participant
Posts : 34
Join date : 2012-02-10
Age : 36
Location : Chennai

How to close the Popup Window in Selenium IDE ???? Empty How to close the Popup Window in Selenium IDE ????

Fri Mar 09, 2012 5:06 pm
How to close the Popup Window in Selenium IDE?
Can i know the Selenese Commands for the same also i am unable to find the name of the Popup window that opens..
I get this if i run the same..

[warn] Link has target '_blank', which is not supported in Selenium! Randomizing target to be: selenium_blank48549

So i have substituted '
selenium_blank48549' in the windows name.. but every-time when i run i get different windows name and then shows error. What would be the solution for this ? Anybody there to help me out .. confused
avatar
Tester Mark
Posts : 6
Join date : 2012-03-10
Age : 109

How to close the Popup Window in Selenium IDE ???? Empty Re: How to close the Popup Window in Selenium IDE ????

Thu Mar 15, 2012 12:17 am
Sanjay S wrote:How to close the Popup Window in Selenium IDE?
Can i know the Selenese Commands for the same also i am unable to find the name of the Popup window that opens..
I get this if i run the same..

[warn] Link has target '_blank', which is not supported in Selenium! Randomizing target to be: selenium_blank48549

So i have substituted '
selenium_blank48549' in the windows name.. but every-time when i run i get different windows name and then shows error. What would be the solution for this ? Anybody there to help me out .. confused

The window name changes most every time. To capture the correct name, use the storeAllWindowNames command. Skumari had a similar problem here: seleniumforum.forumotion.net/t1048-selenium-ide

I hope this helps!

Mark
avatar
Sanjay S
Regular Participant
Regular Participant
Posts : 34
Join date : 2012-02-10
Age : 36
Location : Chennai

How to close the Popup Window in Selenium IDE ???? Empty Re: How to close the Popup Window in Selenium IDE ????

Thu Mar 15, 2012 11:24 am
Ya thank you so much Mark.

But could i know where exactly the command has to be included.

As i have used the command in possible places but i couldnt able to get the correct name of the page.
avatar
Tester Mark
Posts : 6
Join date : 2012-03-10
Age : 109

How to close the Popup Window in Selenium IDE ???? Empty Re: How to close the Popup Window in Selenium IDE ????

Thu Mar 15, 2012 7:13 pm
I would use it after your new window has opened. I assume that you click on a button or link that causes the window pop-up to open, so put it there. That way you can identify the window name and then close it.

I hope this helps!

Mark
avatar
Sanjay S
Regular Participant
Regular Participant
Posts : 34
Join date : 2012-02-10
Age : 36
Location : Chennai

How to close the Popup Window in Selenium IDE ???? Empty Re: How to close the Popup Window in Selenium IDE ????

Thu Mar 15, 2012 7:19 pm
Thanks..
Mark, i got the title of the page window from it's 'View Page Source' and successfully i closed the Window Popup.. Smile
avatar
Sanjay S
Regular Participant
Regular Participant
Posts : 34
Join date : 2012-02-10
Age : 36
Location : Chennai

How to close the Popup Window in Selenium IDE ???? Empty Re: How to close the Popup Window in Selenium IDE ????

Tue Mar 27, 2012 4:00 pm
Hie Friends,

Could someone tell me like how to handle this kinda pop-up. I wanna either cancel or click on ok. Please tell me wt commands can be given in Selenium IDE in order to proceed with the same.

How to close the Popup Window in Selenium IDE ???? Popup-10






Thanks,
Sanjay S
Sponsored content

How to close the Popup Window in Selenium IDE ???? Empty Re: How to close the Popup Window in Selenium IDE ????

Back to top
Permissions in this forum:
You cannot reply to topics in this forum