Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

View previous topic View next topic Go down

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

Post by Sanjay S on 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

Sanjay S
Regular Participant
Regular Participant

Posts : 34
Join date : 2012-02-10
Age : 29
Location : Chennai

Back to top Go down

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

Post by Tester Mark on 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

Tester Mark

Posts : 6
Join date : 2012-03-10
Age : 102

Back to top Go down

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

Post by Sanjay S on 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.

Sanjay S
Regular Participant
Regular Participant

Posts : 34
Join date : 2012-02-10
Age : 29
Location : Chennai

Back to top Go down

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

Post by Tester Mark on 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

Tester Mark

Posts : 6
Join date : 2012-03-10
Age : 102

Back to top Go down

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

Post by Sanjay S on 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

Sanjay S
Regular Participant
Regular Participant

Posts : 34
Join date : 2012-02-10
Age : 29
Location : Chennai

Back to top Go down

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

Post by Sanjay S on 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.








Thanks,
Sanjay S

Sanjay S
Regular Participant
Regular Participant

Posts : 34
Join date : 2012-02-10
Age : 29
Location : Chennai

Back to top Go down

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

Post by Sponsored content Today at 8:57 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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