Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Issue with "waitforpopup" in Selenium Core

View previous topic View next topic Go down

Issue with "waitforpopup" in Selenium Core

Post by HadesPluto on Wed Sep 23, 2009 3:34 am

Hi,

I am currently doing a web-testing using Selenium core, right now I am focuing on the automation testing in IE but I have troubles that I need help with.

When I am trying to tell Selenium to "waitforpopup" the following error message appears.

____________________________________________________________
! An error has occurred in the script on this page.


Line: 1100
Char: 9
Error: 'pathname' is null or not an object
Code: 0
URL: http://



Do you want to continue running scripts on this page?

|Yes| |No|

____________________________________________________________

Part of the HTML code is posted as following:


click
xpath=//td[@id='addWidgetBtncenter']



waitForPopUp

30000


selectFrame
relative=up





Where the first step is to click on a "addwidget button" (for the webpage that i am testing), it will launch a popup-window

So, I have used "waitforpopup" command then "selectFrame" or "selectpopup", but none of them worked in IE.


I always run into an issue when I need to wait for a new window that pops up, can anyone please help me with this issue??

Greatly appreciated...


Best,

Hades Pluto

HadesPluto
Active particpant
Active particpant

Posts : 11
Join date : 2009-09-23

Back to top Go down

Re: Issue with "waitforpopup" in Selenium Core

Post by Adviser on Wed Sep 23, 2009 11:05 am

Hi.

Try to use the following command and let see will it work or not:

1. clickAndWait | addwidget button
2. selectWindow | Title or id of popup appearing
3. Perform some operation on popup.
4. after doing all operation, SelectWindow| null or title of main window


Best of luck

Bye

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

I tried but..

Post by HadesPluto on Thu Sep 24, 2009 10:20 am

Thank you for your reply, however there is still an issue with the popup window in IE automation. It works fine in firefox but it doesnt work in IE Sad

I have tried "click", "clickandwait", "selectwindow", "selectpopup", and "selectframe", none of these worked....

Btw, the popup window does not have an id or title..

Best,

Mark

Adviser wrote:Hi.

Try to use the following command and let see will it work or not:

1. clickAndWait | addwidget button
2. selectWindow | Title or id of popup appearing
3. Perform some operation on popup.
4. after doing all operation, SelectWindow| null or title of main window


Best of luck

Bye

HadesPluto
Active particpant
Active particpant

Posts : 11
Join date : 2009-09-23

Back to top Go down

Re: Issue with "waitforpopup" in Selenium Core

Post by Sponsored content Today at 1:02 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