This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
4 Replies Last post: Oct 21, 2009 1:04 PM by kais  
bob Beginner 3 posts since
Oct 4, 2009
Currently Being Moderated

Oct 4, 2009 5:34 PM

IE 8 Selenium Tests won't run.

Hi

 

I am trying to get selenium tests to run. Yet every time I try to run a tests that should run IE I get a error on line 863 of htmlutils.js It says that I should disable my popup blocker. The thing is I went to IE tools-> turn of popup block.

 

So it is disabled and I get this error.

 

Is there something else I need to disable. I actually dont' even know what version of Internet explorer it is running since I am using Windows 7 Pro 64bit version. So when I do use IE I use 64bit version but I am under the understanding if the site or something liket hat does not support 64bit it goes to 32bit.


So not sure what I need to do it to make it work.

 

This is the lines where it does

 

function openSeparateApplicationWindow(url, suppressMozillaWarning) {
    // resize the Selenium window itself
    window.resizeTo(1200, 500);
    window.moveTo(window.screenX, 0);

 

    var appWindow = window.open(url + '?start=true', 'selenium_main_app_window');
    if (appWindow == null) {
        var errorMessage = "Couldn't open app window; is the pop-up blocker enabled?"
        LOG.error(errorMessage);
        throw new Error("Couldn't open app window; is the pop-up blocker enabled?");
    }

 

Where is this log.error mesage get stored. Maybe I can post that too.

Santiago Suarez Ordoñez Almighty 998 posts since
Aug 7, 2008
Currently Being Moderated
1. Oct 4, 2009 10:48 PM in response to: bob
Re: IE 8 Selenium Tests won't run.

You should get the error message in the java console where you run the test,

or using the -log flag when you wake up the server for your tests:

http://seleniumhq.org/docs/05_selenium_rc.html#selenium-server-logging

 

Santiago Suarez Ordoñez

Clients Success Engineer

Sauce Labs Inc

http://saucelabs.com

Aaron Evans Beginner 4 posts since
Nov 7, 2008
Currently Being Moderated
2. Oct 12, 2009 2:02 PM in response to: bob
Re: IE 8 Selenium Tests won't run.

So is there a solution for this?

 

It seems a more general problem with IE8 (I get the same message on Vista 32 bit).

 

Looks like the same issue reported in this thread:

http://clearspace.openqa.org/message/68291

kais Beginner 1 posts since
Oct 21, 2009
Currently Being Moderated
4. Oct 21, 2009 1:04 PM in response to: bob
Re: IE 8 Selenium Tests won't run.

Any workaround for this yet?

 

Suggestion to run Eclipse as administrator doesn't help me.

More Like This

  • Retrieving data ...