finishing Test impossible

1 view
Skip to first unread message

Jojo

unread,
Jul 24, 2008, 3:18:08 AM7/24/08
to selenium-users...@googlegroups.com
hi. I got Selenium RC working so far. I use the IE.
I Just have got 1 Problem. Everytime I say
(selenium)browser.stop(); (in java) or
cmd=testComplete&sessionID=... (in interactive mode)
I get an error. Java just gets an Runtime Error and doesn't say more. in interactive mode following happens:

cmd=testComplete&sessionId=73ea0964f3bb421180fb0b96bdff977e\\ 08:53:21.795 INFO - ---> Requesting http://localhost:4444/selenium-server/driver?cmd=testComplete&sessionId=73ea0964f3bb421180fb0b96bdff977e\\ 08:53:21.795 INFO - Command request: testComplete[, ] on session 73ea0964f3bb421180fb0b96bdff977e\\ 08:53:21.795 INFO - Restoring registry settings (won't affect running browsers)...\\ 08:53:22.077 WARN - GET /selenium-server/driver/?cmd=testComplete&sessionId=73ea0964f3bb421180fb0b96bdff977e HTTP/1.1\\ org.openqa.selenium.server.browserlaunchers.WindowsUtils$WindowsRegistryException: Problem while managing the registry, OS Version '5.1', regVersion1 = false\\ at org.openqa.selenium.server.browserlaunchers.WindowsUtils.writeIntRegistryValue(WindowsUtils.java:555)\\ at org.openqa.selenium.server.browserlaunchers.WindowsUtils.writeBooleanRegistryValue(WindowsUtils.java:560)\\ at org.openqa.selenium.server.browserlaunchers.WindowsProxyManager$RegKey.restore(WindowsProxyManager.java:414)\\ at org.openqa.selenium.server.browserlaunchers.WindowsProxyManager$RegKey.access$100(WindowsProxyManager.java:354)\\ at org.openqa.selenium.server.browserlaunchers.WindowsProxyManager.restoreRegistrySettings(WindowsProxyManager.java:246)\\ at org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomProxyLauncher.close(InternetExplorerCustomProxyLauncher.java:98)\\ at org.openqa.selenium.server.BrowserSessionFactory.endBrowserSession(BrowserSessionFactory.java:230)\\ at org.openqa.selenium.server.BrowserSessionFactory.endBrowserSession(BrowserSessionFactory.java:198)\\ at org.openqa.selenium.server.BrowserSessionFactory.endBrowserSession(BrowserSessionFactory.java:160)\\ at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:420)\\ at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:388)\\ at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:135)\\ at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)\\ at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)\\ at org.mortbay.http.HttpServer.service(HttpServer.java:909)\\ at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)\\ at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)\\ at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)\\ at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)\\ at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)\\ at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)\\ Caused by: java.lang.RuntimeException: exec return code 1: Error: Zugriff verweigert\\ at org.openqa.selenium.server.browserlaunchers.WindowsUtils$WindowsRegistryException.<init>(WindowsUtils.java:647)\\ ... 21 more\\ Server returned HTTP response code: 500 for URL: [http://localhost:4444/selenium-server/driver/?cmd=testComplete&sessionId=73ea0964f3bb421180fb0b96bdff977e]

after that I can enter "stop" without any problems .... but I don't think, the test should be stopped like that.

Before Stopping the test, i normally opened the site, read it's Title and that was all ... (just for testing if the basics work)

I hope, you can help me. If you need more information, tell me.

Jojo

Reply all
Reply to author
Forward
0 new messages