Re: Internet Explorer Issue using Selenium Perl Test

229 views
Skip to first unread message

Doozer

unread,
Feb 12, 2013, 9:48:16 AM2/12/13
to seleniu...@googlegroups.com
I too am using perl with Selenium grid2 and have IE working fine. How are you starting your nodes on the virtual machines? You should only need to specify the simple browser name in the test. I start my nodes on virtual machines using .json files where I specify the full path of each browser, have you tried this? I have highlighted below in red the way I call a test in Internet Explorer.

Hope this helps!

On Monday, February 11, 2013 10:24:10 AM UTC, Frederik Busch wrote:
Hello,

I've got trouble testing my Website on Internet Explorer, for it either doesn't launch at all, or gives out an error instantly.

The Perl code to launch is the following:

   
    my $sel = Test::WWW::Selenium->new( host => "localhost",
                                    port => 4444,
                                    browser => '*iexplore",
                                    browser_url => "http://127.0.0.1:5984/" );


When launching the test the selenium.standalone.server tries to connect for about 2 minutes and then quits giving out this error:
WARN - Embedded iexplore seems to have ended on its own (did we kill the real browser???)
INFO - Got result: Failed to start new browser session: org.openqa.selenium.server.RemoteCommandExeption: Error while launching browsers on session null

I can start IE using the same path as above from the command line.

Additional Information: I've been trying this on 2 different virtual machines using Win7 and WinXP. The same Testsuite works perfectly using Google Chrome and Firefox.
I've already tried to to turn protected mode on and off, it didn't fix the problem.

Anybody got a similar problem and knows how to solve it?

Thanks for help
Frederik Busch

Doozer

unread,
Feb 15, 2013, 3:08:44 AM2/15/13
to seleniu...@googlegroups.com
Glad I could help!

I have also got IE working fine in Win 7 so I would imagine its a setting in Win 7 or IE. Don't know if the below may help:


I only needed to turn off pop-up blocker in IE on Win 7 and it all works fine. You could also try hitting the compatibility view option in IE (To the right of the address bar is an icon that looks like a piece of paper torn in half).

Hope this helps.

On Thursday, February 14, 2013 1:03:42 PM UTC, Frederik Busch wrote:
This fixed the problem on the XP machine, thanks.

Win7 still blocks localhost on IE though. Probably a security problem.
(Error: Script fail)
Any idea which option is responsible for this?
Reply all
Reply to author
Forward
0 new messages