Hi,
I was trying to use IE6 from Remote control. It was working fine with firefox2, but there is some issue and I can only guess it might be related to windows registry. I'm using Windows 2000, I have installed selenium-remote-control-0.9.2 and I'm running the server through *java -jar selenium-server.jar -port 7860*
command.
I copied reg.exe to C:\WINNT\system32. But still the problem nt solved.
Can anyone please help me to resolve this problem.
The Error is:
16:57:28.656 INFO - Java: Sun Microsystems Inc. 1.5.0_12-b04\\ 16:57:28.671 INFO - OS: Windows 2000 5.0 x86\\ 16:57:28.671 INFO - v0.9.2 [2006], with Core v0.8.3 [1879]\\ 16:57:28.859 INFO - Version Jetty/5.1.x\\ 16:57:28.859 INFO - Started HttpContext[/,/]\\ 16:57:28.859 INFO - Started HttpContext[/selenium-server,/selenium-server]\\ 16:57:28.859 INFO - Started HttpContext[/selenium-server/driver,/selenium-server\\ /driver]\\ 16:57:28.890 INFO - Started SocketListener on
0.0.0.0:7860\\ 16:57:28.890 INFO - Started [org.mortbay.jetty.Server@13e205f]\\ 16:57:34.640 INFO - Checking Resource aliases\\ 16:57:34.656 INFO - Command request: getNewBrowserSession[*iexplore, [
http://srai]\\ 65/ems/] on session null\\ 16:57:34.921 INFO - Launching session 454656\\ 16:57:34.937 INFO - Backing up registry settings...\\ 16:57:35.031 WARN - POST /selenium-server/driver/ HTTP/1.1\\ org.openqa.selenium.server.browserlaunchers.WindowsUtils$WindowsRegistryExceptio\\ n: Problem while managing the registry, OS Version '5.0', regVersion1 = false\\ at org.openqa.selenium.server.browserlaunchers.WindowsUtils.readStringRe\\ gistryValue(WindowsUtils.java:415)\\ at org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomPro\\ xyLauncher$RegKeyBackup.copyString(InternetExplorerCustomProxyLauncher.java:397)
at org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomPro\\ xyLauncher$RegKeyBackup.copy(InternetExplorerCustomProxyLauncher.java:384)\\ at org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomPro\\ xyLauncher$RegKeyBackup.backup(InternetExplorerCustomProxyLauncher.java:362)\\ at org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomPro\\ xyLauncher$RegKeyBackup.access$000(InternetExplorerCustomProxyLauncher.java:341)
at org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomPro\\ xyLauncher.backupRegistrySettings(InternetExplorerCustomProxyLauncher.java:264)\\ at org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomPro\\ xyLauncher.launch(InternetExplorerCustomProxyLauncher.java:181)\\ at org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher.l\\ aunchRemoteSession(AbstractBrowserLauncher.java:24)\\ at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse\\ rSession(SeleniumDriverResourceHandler.java:587)\\ at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se\\ leniumDriverResourceHandler.java:396)\\ at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman\\ dRequest(SeleniumDriverResourceHandler.java:375)\\ at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen\\ iumDriverResourceHandler.java:123)\\ 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: Output didn't look right: Listing of [Sof\\ tware\Microsoft\Windows\CurrentVersion\\Internet Settings]
REG_SZ User Agent Mozilla/4.0 (compatible; MSIE 6.0; Win32)\\ REG_SZ IE5_UA_Backup_Flag 5.0\\ REG_DWORD NoNetAutodial 0\\ REG_DWORD MigrateProxy 1\\ REG_SZ EmailName IEUser@\\ REG_SZ AutoConfigProxy wininet.dll\\ REG_SZ MimeExclusionListForCache multipart/mixed multipart/x-mixe\\ d-replace multipart/x-byteranges\\ REG_BINARY WarnOnPost Data to follow:
01000000\\ REG_BINARY UseSchannelDirectly Data to follow:
01000000\\ REG_DWORD EnableHttp1_1 0\\ REG_DWORD PrivacyAdvanced 0\\ REG_DWORD ProxyEnable 0\\ REG_DWORD EnableAutodial 0\\ REG_DWORD PrivDiscUiShown 1\\ REG_DWORD GlobalUserOffline 0\\ REG_DWORD UrlEncoding 0\\ REG_DWORD ProxyHttp1.1 0\\ REG_DWORD DisableCachingOfSSLPages 0\\ REG_DWORD EnableNegotiate 0\\ REG_DWORD SecureProtocols 168\\ REG_DWORD WarnonBadCertRecving 1\\ REG_DWORD WarnonZoneCrossing 1\\ REG_DWORD WarnOnPostRedirect 1\\ REG_DWORD CertificateRevocation 0\\ [5.0]\\ [Cache]\\ [Connections]\\ [P3P]\\ [Url History]\\ [ZoneMap]\\ [Zones]\\ at org.openqa.selenium.server.browserlaunchers.WindowsUtils$WindowsRegis\\ tryException.<init>(WindowsUtils.java:647)\\ ... 21 more\\ 16:57:35.062 INFO - Command request: open[
http://srai65/ems/, ] on session null\\ 16:57:35.062 WARN - POST /selenium-server/driver/ HTTP/1.1\\ java.lang.NullPointerException\\ at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:15\\ 7)\\ at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:730\\ )\\ at org.openqa.selenium.server.FrameGroupCommandQueueSet.getQueueSet(Fram\\ eGroupCommandQueueSet.java:157)\\ at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se\\ leniumDriverResourceHandler.java:476)\\ at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman\\ dRequest(SeleniumDriverResourceHandler.java:375)\\ at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen\\ iumDriverResourceHandler.java:123)\\ 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)\\ 16:57:35.078 INFO - Command request: testComplete[, ] on session null\\ 16:57:35.078 INFO - Got result: ERROR: No launcher found for sessionId null on s\\ ession null