Issue 3921 in selenium: IE driver fails to initialize

13 views
Skip to first unread message

sele...@googlecode.com

unread,
May 17, 2012, 5:30:36 AM5/17/12
to selenium-develope...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Status-Untriaged

New issue 3921 by raviteja...@gmail.com: IE driver fails to initialize
http://code.google.com/p/selenium/issues/detail?id=3921

What steps will reproduce the problem?
1. Grails version: 2.0.0
2. Use geb-spock 0.7.0 and geb plugin 0.6.3
3. Run the tests in the attached example application using grails. It will
fail.

For running tests use "grails test-app -Dgeb.env=ie --stacktrace
--verbose". You will notice the stacktrace in out.txt.

What is the expected output? What do you see instead?
I want the test cases to be running in Internet Explorer


Selenium version: 2.21
OS: Windows 7
Browser: Internet Explorer
Browser version: N/A (Doesn't matter)


Please provide any additional information below. A sample reduced test
case, or a public URL that demonstrates the problem will intrigue our merry
band of Open Source developers far more than nothing at all: they'll be far
more likely to look at your problem if you make it easy for them!
Test case attached: example-bug-report-17052012.zip
Stacktrace: out.txt

Supporting discussions:
http://markmail.org/thread/25pxfgykes4e6oip


Attachments:
out.txt 28.5 KB
example-bug-report-17052012.zip 22.3 KB

sele...@googlecode.com

unread,
May 17, 2012, 5:38:17 AM5/17/12
to selenium-develope...@googlegroups.com

Comment #1 on issue 3921 by raviteja...@gmail.com: IE driver fails to
initialize
http://code.google.com/p/selenium/issues/detail?id=3921

Feel free to upgrade the example application if you do not find the
appropriate grails version to download and run the testcases.

Steps to upgrade/install grails and reproduce the problem:
1. Download the latest stable version of Grails (zip file)
2. Extract it
3. Point this directory to GRAILS_HOME environment variable
4. Make sure you have JAVA_HOME environment variable configured and point
it to JDK installation directory
5. Extract the example application
6. cd to that directory
7. Run the command "grails upgrade" (via command line)
8. Run "grails test-app -Dgeb.env=ie --stacktrace --verbose" to reproduce
the problem

sele...@googlecode.com

unread,
May 18, 2012, 2:02:43 AM5/18/12
to selenium-develope...@googlegroups.com
Updates:
Labels: -Status-Untriaged Component-WebDriver Browser-IE

Comment #2 on issue 3921 by barancev: IE driver fails to initialize
http://code.google.com/p/selenium/issues/detail?id=3921

I recommend you to wait until 2.22 is launched and upgrade to this version.
It will use the standalone IEDriverServer (much like chromedriver) that
will run in a separate process.
This should resolve all the issues related to misuse of IEDriver.dll

I'll update with comment as soon as 2.22 is out.

sele...@googlecode.com

unread,
May 18, 2012, 2:15:25 AM5/18/12
to selenium-develope...@googlegroups.com

Comment #3 on issue 3921 by raviteja...@gmail.com: IE driver fails to
initialize
http://code.google.com/p/selenium/issues/detail?id=3921

Please also let us know if some extra configuration/system variable needs
to be set when 2.22 is out and we have to use the server.

sele...@googlecode.com

unread,
Jun 4, 2012, 11:05:08 AM6/4/12
to selenium-develope...@googlegroups.com

Comment #4 on issue 3921 by raviteja...@gmail.com: IE driver fails to
initialize
http://code.google.com/p/selenium/issues/detail?id=3921

The issue still exists with 2.22. Any update on this?

sele...@googlecode.com

unread,
Jun 4, 2012, 11:23:10 AM6/4/12
to selenium-develope...@googlegroups.com
Updates:
Status: NeedsClarification

Comment #5 on issue 3921 by barancev: IE driver fails to initialize
http://code.google.com/p/selenium/issues/detail?id=3921

Sorry, I forgot to update the status of this issue :(

To use the new standalone IEDriverServer:

1) upgrade Selenium to the version 2.22
2) download IEDriverServer from
http://code.google.com/p/selenium/downloads/list
3) put the executable IEDriverServer.exe to the PATH, or specify the path
to the executable using system property -Dwebdriver.ie.driver

If selenium cannot find IEDriverServer.exe, it falls back to the old
execution mode and suffer from old dll-related diseases.

Feel free to request any help or additional information you need to migrate
to the new IE driver execution mode.

sele...@googlecode.com

unread,
Jun 7, 2012, 2:51:44 PM6/7/12
to selenium-develope...@googlegroups.com

Comment #6 on issue 3921 by raviteja...@gmail.com: IE driver fails to
initialize
http://code.google.com/p/selenium/issues/detail?id=3921

@barancev
Speaking of this issue, the test cases are running on IE.

Please document the below line(Ignore if already documented) or add this to
the stacktrace of the error like in ChromeDriver:
3) put the executable IEDriverServer.exe to the PATH, or specify the path
to the executable using system property -Dwebdriver.ie.driver

There seem to be some other problems WRT IEDriver will raise separate
issues for them BTW.

Thanks

sele...@googlecode.com

unread,
Jun 7, 2012, 2:57:45 PM6/7/12
to selenium-develope...@googlegroups.com

Comment #7 on issue 3921 by raviteja...@gmail.com: IE driver fails to
initialize
http://code.google.com/p/selenium/issues/detail?id=3921

I have tested it using the system property -Dwebdriver.ie.driver. I will
also test using the PATH variable and comment on the issue.

sele...@googlecode.com

unread,
Jul 16, 2012, 6:19:16 PM7/16/12
to selenium-develope...@googlegroups.com

Comment #8 on issue 3921 by barancev: IE driver fails to initialize
http://code.google.com/p/selenium/issues/detail?id=3921

Is allright with IE now?

sele...@googlecode.com

unread,
Aug 3, 2012, 10:53:05 AM8/3/12
to selenium-develope...@googlegroups.com

Comment #9 on issue 3921 by raviteja...@gmail.com: IE driver fails to
initialize
http://code.google.com/p/selenium/issues/detail?id=3921

Yes it is all right, sorry for the delayed response. I guess this issue is
fixed.

sele...@googlecode.com

unread,
Aug 3, 2012, 1:25:16 PM8/3/12
to selenium-develope...@googlegroups.com
Updates:
Status: Fixed

Comment #10 on issue 3921 by barancev: IE driver fails to initialize
http://code.google.com/p/selenium/issues/detail?id=3921

Thank you for letting us know!

Reply all
Reply to author
Forward
0 new messages