frykauf / o3d

Automatically exported from code.google.com/p/o3d
0 stars 0 forks source link

Selenium tests do not work on IE for Vista64 #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The selenium tests do not work on IE for Vista64.  The Selenium Remote 
Control is able to start the browser but crashes saying "Failed to start 
new browser session".

Perhaps this is because on Vista64, when selenium launches IE, a popup 
window comes up saying something to the effect of "path not found: 'file:'" 
and the actual IE window doesn't open till this dialog is clicked.

Here's the selenium error:

sel_serv:10:46:04.472 INFO - Launching Internet Explorer HTA...

sel_serv:10:46:36.554 ERROR - Failed to start new browser session, shutdown 
browser and clear all session data

sel_serv:org.openqa.selenium.server.RemoteCommandException: timed out 
waiting for window 'null' to appear

sel_serv:       at 
org.openqa.selenium.server.FrameGroupCommandQueueSet.waitForLoad(FrameGroup
CommandQueueSet.java:567)

sel_serv:       at 
org.openqa.selenium.server.FrameGroupCommandQueueSet.waitForLoad(FrameGroup
CommandQueueSet.java:524)

sel_serv:       at 
org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSession(Bro
wserSessionFactory.java:358)

sel_serv:       at 
org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(Brows
erSessionFactory.java:122)

sel_serv:       at 
org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(Brows
erSessionFactory.java:84)

sel_serv:       at 
org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSessi
on(SeleniumDriverResourceHandler.java:699)

sel_serv:       at 
org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Selenium
DriverResourceHandler.java:393)

sel_serv:       at 
org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandReque
st(SeleniumDriverResourceHandler.java:364)

sel_serv:       at 
org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDri
verResourceHandler.java:125)

sel_serv:       at 
org.mortbay.http.HttpContext.handle(HttpContext.java:1530)

sel_serv:       at 
org.mortbay.http.HttpContext.handle(HttpContext.java:1482)

sel_serv:       at org.mortbay.http.HttpServer.service(HttpServer.java:909)

sel_serv:       at 
org.mortbay.http.HttpConnection.service(HttpConnection.java:820)

sel_serv:       at 
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)

sel_serv:       at 
org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)

sel_serv:       at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)

sel_serv:       at 
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)

sel_serv:       at 
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

sel_serv:10:46:36.647 INFO - Got result: Failed to start new browser 
session: Error while launching browser on session null

Original issue reported on code.google.com by kka...@google.com on 3 Aug 2009 at 7:48

GoogleCodeExporter commented 9 years ago
Fix committed. See
http://codereview.chromium.org/165139

Original comment by kka...@google.com on 12 Aug 2009 at 10:42