- prashanth goud
- Posts : 3
Join date : 2012-02-27
Handling pop up using selenium IDE (pop up generates dynamically and not related to parent window) in FF 3.6
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
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
....
....
....
....
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
- sharathRegular Participant
- Posts : 29
Join date : 2012-08-04
Re: Handling pop up using selenium IDE (pop up generates dynamically and not related to parent window) in FF 3.6
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.
Thanks,
Sharath
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.
Thanks,
Sharath
- prashanth goud
- Posts : 3
Join date : 2012-02-27
Re: Handling pop up using selenium IDE (pop up generates dynamically and not related to parent window) in FF 3.6
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.
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.
- sharathRegular Participant
- Posts : 29
Join date : 2012-08-04
Re: Handling pop up using selenium IDE (pop up generates dynamically and not related to parent window) in FF 3.6
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
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
- Sponsored content
- Handling pop up using selenium IDE (pop up generates dynamically and not related to parent window) in FF 3.6
- Unable to switch to parent window in selenium Webdriver
- Issue related with the positioning of rows (X path) while executing selenium script
- Error : I could not able to switch parent window to overlay window because that it throws No element exception found. We are using the webdriver :- 2.45.1 Please some one can help to resolve this issue, thanks in advance.
- Record tab window using selenium IDE
Permissions in this forum:
You cannot reply to topics in this forum
|
|