How do i disable proxy injection (or hta?) mode using beta 2

10 views
Skip to first unread message

Dubya

unread,
May 5, 2009, 11:55:07 AM5/5/09
to selenium-users...@googlegroups.com
We recently upgraded to selenium rc beta 2, after usingn .92 for a long time.  We love our selenium, but now that the default for IE is multiWindow (which makes it run MUCH slower), and running in hta or proxyinjection mode (not sure which one causes it to run in the weird IE browser), many of our tests have broken.

I know the option to run the test in one browser window is -singleWindow on the seleniumserver command line.  What is the option to get the test to not run in hta/proxyinjection mode or whatever is going on?

Thanks!

Dubya

unread,
May 6, 2009, 1:21:54 PM5/6/09
to selenium-users...@googlegroups.com
btt.  I really need this answer, and i cannot find documentation on it anywhere.


Thanks!
-Weston

Dubya

unread,
May 7, 2009, 11:53:03 AM5/7/09
to selenium-users...@googlegroups.com
Thanks!  Thats what i was looking for - however, I am still recieving this error:

java.lang.RuntimeException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.BrowserLauncherFactory.createBrowserLauncher(BrowserLauncherFactory.java:145)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.BrowserLauncherFactory.getBrowserLauncher(BrowserLauncherFactory.java:85)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSession(BrowserSessionFactory.java:341)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:119)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:82)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSession(SeleniumDriverResourceHandler.java:658)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:392)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:368)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:129)\\ &nbsp;&nbsp;&nbsp; at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)\\ &nbsp;&nbsp;&nbsp; at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)\\ &nbsp;&nbsp;&nbsp; at org.mortbay.http.HttpServer.service(HttpServer.java:909)\\ &nbsp;&nbsp;&nbsp; at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)\\ &nbsp;&nbsp;&nbsp; at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)\\ &nbsp;&nbsp;&nbsp; at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)\\ &nbsp;&nbsp;&nbsp; at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)\\ &nbsp;&nbsp;&nbsp; at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)\\ &nbsp;&nbsp;&nbsp; at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)\\ Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1\\ &nbsp;&nbsp;&nbsp; at java.lang.String.substring(String.java:1768)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.WindowsUtils$RegKeyValue.<init>(WindowsUtils.java:639)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.WindowsUtils.deleteRegistryValue(WindowsUtils.java:594)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.WindowsProxyManager.handleEvilPopupMgrBackup(WindowsProxyManager.java:108)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.WindowsProxyManager.init(WindowsProxyManager.java:83)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.WindowsProxyManager.<init>(WindowsProxyManager.java:67)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomProxyLauncher.<init>(InternetExplorerCustomProxyLauncher.java:55)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomProxyLauncher.<init>(InternetExplorerCustomProxyLauncher.java:47)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomProxyLauncher.<init>(InternetExplorerCustomProxyLauncher.java:43)\\ &nbsp;&nbsp;&nbsp; at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\\ &nbsp;&nbsp;&nbsp; at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)\\ &nbsp;&nbsp;&nbsp; at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)\\ &nbsp;&nbsp;&nbsp; at java.lang.reflect.Constructor.newInstance(Constructor.java:494)\\ &nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.BrowserLauncherFactory.createBrowserLauncher(BrowserLauncherFactory.java:134)\\ &nbsp;&nbsp;&nbsp; ... 17 more

I noticed that someone else had posted about this the other day, but got no response.

http://clearspace.openqa.org/message/61642
Thanks!
-Weston

Reply all
Reply to author
Forward
0 new messages