patricklee has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to run a automated test in IE 8 with Perl and Selenium RC. The Selenium RC server is freezes up at this point: (1 0:59:57.675 INFO - Launching Internet Explorer HTA...) and then locks up.

At the Perl prompt I get the Error message: (Error requesting http://localhost:4444/selenium-server/driver/: 500 read timeout # Looks like your test exited with 255 before it could output anything.

The browser does open up but the test site does not launch. Has anyone every experience this problem. (Fire Fox runs great I am only having the problem in iexplore 8

Selenium RC Server command: java -jar selenium-server.jar

  • Comment on Perl & Selenium RC unable to lunch test site in iexplore 8

Replies are listed 'Best First'.
Re: Perl & Selenium RC unable to lunch test site in iexplore 8
by wjw (Priest) on Jan 27, 2011 at 19:27 UTC
    Check this out->Supported Browsers.... Hope that helps.

    I have had problems with anything JavaScript in IE7/8. I finally gave up and installed chrome frame in order to get anything with a substantial JavaScript component to work decently. Sort of defeats the purpose of testing against IE as chrome frame replaces the JS engine, but doing so made things work as expected.

    I realize this might be tangential to the kind of solution you are looking for... but, again, I hope it might be useful to you.

    Chrome Frame

    • ...the majority is always wrong, and always the last to know about it...
    • The Spice must flow...
    • ..by my will, and by will alone.. I set my mind in motion
Re: Perl & Selenium RC unable to lunch test site in iexplore 8
by bart (Canon) on Jan 28, 2011 at 08:26 UTC
    According to this it can work.

    Have you checked the following things:

    • Are you sure you have a correct string for the browser spec? As you can launch the browser, I think you do.
    • Are you sure the firewall isn't blocking you? Temporarily disable it completely and check again.
    • If it still doesn't work: do you have the proper driver? Not sure you need it, but I found Internet Explorer Driver.

      Hello bart I downloaded the drivers. But Sorry to sound stupid, but how do you install execute the driver or install.

Re: Perl & Selenium RC unable to lunch test site in iexplore 8
by Your Mother (Archbishop) on Jan 28, 2011 at 14:56 UTC

    Make sure your Selenium is up to date. I had similar--not sure it was identical--trouble with the penultimate release (I think it was 1.0.2).

      I am running selenium 1.0.3. My operating system is Windows 7 64.

      I loaded the Selenium IDE and RC on an older machine that the operating system is XP professional 32. The IE8 browser opens up and the web site launches. So what could the problem be with Windows 7.

      Need some Perl and Selenium knowledge

        I think this has nothing to do with the Perl. Windows has been ratcheting up their default security model/settings over time and sometimes IE just won't work with certain sites/IPs/services/cookies/etc. You'll probably have better luck Googling around or looking for Selenium on a forum. For my part, I'm using Selenium 1.0.3 on XP IE 8 and it seems fine.