Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Handling pop up using selenium IDE (pop up generates dynamically and not related to parent window) in FF 3.6

View previous topic View next topic Go down

Handling pop up using selenium IDE (pop up generates dynamically and not related to parent window) in FF 3.6

Post by prashanth goud on Mon Feb 27, 2012 7:52 pm

Hi All ,



I Just started playing with Selenium IDE.
I
Got a problem in using selenium IDE specially while handling popup.The
name of my popup is dynamic that is nothing but the current time i am
able to handle the dynamic name of my poup.After recording using IDE the
commands are like this

....
....
Waitforpopup popupname time in sec
selectwindow name="popupname"
....
....

While
playback using IDE I am able to give the correct popup name but unable to move focus to the new poup which generates dynamically after
clicking on add option and my popup here not related to parent window
and it is non-modal dialog window(focus moves to generated pop up
automatically after clicking on add button).

I tried many options suggested in different forums. but unable to handle it

But
when i start playback from selectwindow command(that is inserting a
start point at select window command after generation of pop up) in my
IDE , I am able to handle the pop up.

Can u please suggest how to handle pop up in my scenario so that i can playback my usecase from starting

prashanth goud

Posts : 3
Join date : 2012-02-27

Back to top Go down

Re: Handling pop up using selenium IDE (pop up generates dynamically and not related to parent window) in FF 3.6

Post by sharath on Tue Sep 04, 2012 7:28 pm

Hi Prashanth,

You have mentioned that you cannot handle a pop up while running the tests.One thing you can do is you can use setSpeed as 3000 before the page you want to enter.This will slow down your Speed of tests and inturn will allow you to handle the popup. This happens because the Javascript loads only after the page.Hope this helps. Very Happy

Thanks,
Sharath

sharath
Regular Participant
Regular Participant

Posts : 29
Join date : 2012-08-04

Back to top Go down

Re: Handling pop up using selenium IDE (pop up generates dynamically and not related to parent window) in FF 3.6

Post by prashanth goud on Tue Sep 04, 2012 7:55 pm

Dear Sharath,

I have specified the waitforpopup timing, but unable to resolve it in RC.
Using WebDriver i am able to handle it.For dynamic popups webdriver is a perfect solution.

prashanth goud

Posts : 3
Join date : 2012-02-27

Back to top Go down

Re: Handling pop up using selenium IDE (pop up generates dynamically and not related to parent window) in FF 3.6

Post by sharath on Thu Sep 06, 2012 1:50 pm

Hi Prashanth,

You can try using setSpeed command before clicking on the button for popup, as it has worked for me.Also please make sure that you are using the latest version of RC jar and its compatible Firefox if you are using firefox.

If it is a browser pop up , you can use chooseOKOnNextConfirmation before the popup window loads.

Hope to hear from you,
Sharath

sharath
Regular Participant
Regular Participant

Posts : 29
Join date : 2012-08-04

Back to top Go down

Re: Handling pop up using selenium IDE (pop up generates dynamically and not related to parent window) in FF 3.6

Post by Sponsored content Today at 6:35 pm


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