Hi,
I'm currently having issues trying to open a URL when running tests in Selenium Grid (latest stable and nightly build) with IE7.The tests run OK if I use *chrome or *firefox but when I use *iexplore or *iehta the console and browser opens, but the browser remains blank (,,,/customProfileDirf1390d44e635465bad30ca6c83b26fa8/core/Blank.html?start=true). Selenium grid is running on a VM and if I run Selenium RC on this same VM I have no issues with IE7, tests run ok.
The following is the exception I get on the client:
com.thoughtworks.selenium.SeleniumException: ERROR: Selenium failure. Please report to the Selenium Users forum at
http://forums.openqa.org, with error details from the log window. The error message is: \\ at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:92)\\ at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:86)\\ at com.thoughtworks.selenium.DefaultSelenium.open(DefaultSelenium.java:324)
.....
Here is the start of the debug log on the VM:
[java] 10:51:08.796 DEBUG - Try HttpContext[/selenium-server/driver,/selenium-server/driver],0\\ [java] 10:51:08.796 DEBUG - Try HttpContext[/selenium-server,/selenium-server],0\\ [java] 10:51:08.796 DEBUG - Handler org.mortbay.http.handler.SecurityHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:08.796 DEBUG - Handler org.openqa.selenium.server.StaticContentHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:08.796 INFO - Checking Resource aliases\\ [java] 10:51:08.796 DEBUG - PATH=/driver/ RESOURCE=file:/C:/Programme/selenium-grid-1.0.3/MISSING%20RESOURCE\\ [java] 10:51:08.796 DEBUG - Looking for file:/C:/Programme/selenium-grid-1.0.3/MISSING%20RESOURCE\\ [java] 10:51:08.796 DEBUG - Handler org.openqa.selenium.server.SessionExtensionJsHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:08.796 DEBUG - Handler org.openqa.selenium.server.htmlrunner.SingleTestSuiteResourceHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:08.796 DEBUG - Handler org.openqa.selenium.server.htmlrunner.SeleniumHTMLRunnerResultsHandler@11a698a\\ [java] 10:51:08.796 DEBUG - Handler org.openqa.selenium.server.CachedContentTestHandler@7ced01\\ [java] 10:51:08.796 DEBUG - Handler org.openqa.selenium.server.SeleniumDriverResourceHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:08.796 DEBUG - Thread name: SocketListener0-1\\ [java] 10:51:08.812 DEBUG - req: POST /selenium-server/driver/ HTTP/1.1\\ [java] Content-Type: application/x-www-form-urlencoded; ; charset=UTF-8\\ [java] User-Agent: Jakarta Commons-HttpClient/3.0.1\\ [java] Host: sel-xp-ie7:5555\\ [java] Content-Length: 89\\ [java]\\ [java]\\ [java] 10:51:08.827 INFO - Command request: getNewBrowserSession[*iexplore, https://..............., ] on session null\\ [java] 10:51:08.827 INFO - creating new remote session\\ [java] 10:51:08.968 DEBUG - Requested browser string '*iexplore' matches *iexplore\\ [java] 10:51:09.388 INFO - Allocated session 7fb10a655c194a8180e12cfc90f68784 for https://............, launching...\\ [java] 10:51:09.419 DEBUG - Extracting /core to C:\DOKUME~1\DECLAN\LOKALE~1\Temp\customProfileDir7fb10a655c194a8180e12cfc90f68784\core\\ [java] 10:51:09.544 INFO - Launching Embedded Internet Explorer...\\ [java] 10:51:09.559 DEBUG - Discovering Internet Explorer...\\ [java] 10:51:09.559 DEBUG - Checking whether Internet Explorer launcher at :'C:\Programme\Internet Explorer\iexplore.exe' is valid...\\ [java] 10:51:09.559 DEBUG - Discovered valid Internet Explorer launcher : 'C:\Programme\Internet Explorer\iexplore.exe'\\ [java] 10:51:09.575 DEBUG - Execute:Java13CommandLauncher: Executing 'C:\Programme\Internet Explorer\iexplore.exe' with arguments:\\ [java] '-Embedding'\\ [java]\\ [java] The ' characters around the executable and arguments are\\ [java] not part of the command.\\ [java] 10:51:10.587 DEBUG - spawned process java.lang.ProcessImpl@228a02\\ [java] 10:51:10.587 INFO - Launching Internet Explorer HTA...\\ [java] 10:51:10.587 DEBUG - Execute:Java13CommandLauncher: Executing 'C:\WINDOWS\system32\mshta.exe' with arguments:\\ [java] 'C:\DOKUME~1\DECLAN\LOKALE~1\Temp\customProfileDir7fb10a655c194a8180e12cfc90f68784\core\RemoteRunner.hta'\\ [java] 'sessionId=7fb10a655c194a8180e12cfc90f68784&multiWindow=true&baseUrl=https........&debugMode=false&driverUrl=
http://localhost:5555/selenium-server/driver/&baseUrl=http://localhost:5555/selenium-server/'\\ [java]\\ [java] The ' characters around the executable and arguments are\\ [java] not part of the command.\\ [java] 10:51:11.600 DEBUG - spawned process java.lang.ProcessImpl@8f4fb3\\ [java] 10:51:11.600 DEBUG - waiting for window 'null' local frame 'null' for 1800 more secs\\ [java] 10:51:11.615 DEBUG - waiting for condition for 1000 more ms\\ [java] 10:51:12.332 DEBUG - new HttpConnection: Socket[addr=/
127.0.0.1,port=3244,localport=5555]\\ [java] 10:51:12.363 DEBUG - REQUEST from
SocketL...@0.0.0.0:5555:\\ [java] POST /selenium-server/driver/?seleniumStart=true&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_30996&sessionId=7fb10a655c194a8180e12cfc90f68784&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1229421072285&sequenceNumber=0 HTTP/1.1\\ [java] Accept: */*\\ [java] Accept-Language: de\\ [java] Referer: file://C:\DOKUME~1\DECLAN\LOKALE~1\Temp\customProfileDir7fb10a655c194a8180e12cfc90f68784\core\RemoteRunner.hta\\ [java] UA-CPU: x86\\ [java] Accept-Encoding: gzip, deflate\\ [java] User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)\\ [java] Host: localhost:5555\\ [java] Content-Length: 16\\ [java] Connection: keep-alive\\ [java] Cache-Control: no-cache\\ [java]\\ [java]\\ [java] 10:51:12.363 DEBUG - Try HttpContext[/selenium-server/driver,/selenium-server/driver],0\\ [java] 10:51:12.363 DEBUG - Try HttpContext[/selenium-server,/selenium-server],0\\ [java] 10:51:12.363 DEBUG - Handler org.mortbay.http.handler.SecurityHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.363 DEBUG - Handler org.openqa.selenium.server.StaticContentHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.363 DEBUG - PATH=/driver/ RESOURCE=file:/C:/Programme/selenium-grid-1.0.3/MISSING%20RESOURCE\\ [java] 10:51:12.363 DEBUG - Looking for file:/C:/Programme/selenium-grid-1.0.3/MISSING%20RESOURCE\\ [java] 10:51:12.363 DEBUG - Handler org.openqa.selenium.server.SessionExtensionJsHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.363 DEBUG - Handler org.openqa.selenium.server.htmlrunner.SingleTestSuiteResourceHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.363 DEBUG - Handler org.openqa.selenium.server.htmlrunner.SeleniumHTMLRunnerResultsHandler@11a698a\\ [java] 10:51:12.363 DEBUG - Handler org.openqa.selenium.server.CachedContentTestHandler@7ced01\\ [java] 10:51:12.363 DEBUG - Handler org.openqa.selenium.server.SeleniumDriverResourceHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.394 DEBUG - Thread name: SocketListener0-0\\ [java] 10:51:12.394 DEBUG - req: POST /selenium-server/driver/?seleniumStart=true&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_30996&sessionId=7fb10a655c194a8180e12cfc90f68784&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1229421072285&sequenceNumber=0 HTTP/1.1\\ [java] Accept: */*\\ [java] Accept-Language: de\\ [java] Referer: file://C:\DOKUME~1\DECLAN\LOKALE~1\Temp\customProfileDir7fb10a655c194a8180e12cfc90f68784\core\RemoteRunner.hta\\ [java] UA-CPU: x86\\ [java] Accept-Encoding: gzip, deflate\\ [java] User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)\\ [java] Host: localhost:5555\\ [java] Content-Length: 16\\ [java] Connection: keep-alive\\ [java] Cache-Control: no-cache\\ [java]\\ [java]\\ [java] 10:51:12.394 DEBUG - ---------allocating new CommandQueue for sel_30996\\ [java] 10:51:12.394 DEBUG - Browser 7fb10a655c194a8180e12cfc90f68784/:top sel_30996 posted START NEW\\ [java] 10:51:12.394 DEBUG - ---------retrieving CommandQueue for sel_30996\\ [java] 10:51:12.394 DEBUG - sel_30996 marked as just loaded\\ [java] 10:51:12.394 DEBUG - sel_30996 commandHolder sel_30996 getCommand() called\\ [java] 10:51:12.394 DEBUG - waiting for data for at most 10 more s\\ [java] 10:51:12.394 DEBUG - got condition? : true\\ [java] 10:51:12.394 DEBUG - waiting for window 'null' local frame 'null' for 1799 more secs\\ [java] 10:51:12.425 DEBUG - sel_30996 commandHolder sel_30996 getCommand()\\ [java] 10:51:12.425 DEBUG - putting command: json={command:"getTitle",target:"",value:""}\\ [java] 10:51:12.425 DEBUG - ..command put?: true\\ [java] 10:51:12.425 DEBUG - sel_30996 commandResultHolder sel_30996 getResult() called\\ [java] 10:51:12.425 DEBUG - waiting for data for at most 1800 more s\\ [java] 10:51:12.425 DEBUG - data from polling: json={command:"getTitle",target:"",value:""}\\ [java] 10:51:12.425 DEBUG - sel_30996 commandHolder sel_30996 getCommand() -> json={command:"getTitle",target:"",value:""}\\ [java] 10:51:12.441 DEBUG - res to sel_30996: json={command:"getTitle",target:"",value:""}\\ [java] 10:51:12.456 DEBUG - Handled by org.openqa.selenium.server.SeleniumDriverResourceHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.472 DEBUG - RESPONSE:\\ [java] HTTP/1.1 200 OK\\ [java] Date: Tue, 16 Dec 2008 09:51:12 GMT\\ [java] Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_07\\ [java] Cache-Control: no-cache\\ [java] Pragma: no-cache\\ [java] Expires: Thu, 01 Jan 1970 00:00:00 GMT\\ [java] Content-Type: text/plain\\ [java] Content-Length: 1044\\ [java]\\ [java]\\ [java] 10:51:12.550 DEBUG - REQUEST from
SocketL...@0.0.0.0:5555:\\ [java] POST /selenium-server/driver/?&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_30996&sessionId=7fb10a655c194a8180e12cfc90f68784&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1229421072550&sequenceNumber=1 HTTP/1.1\\ [java] Accept: */*\\ [java] Accept-Language: de\\ [java] Referer: file://C:\DOKUME~1\DECLAN\LOKALE~1\Temp\customProfileDir7fb10a655c194a8180e12cfc90f68784\core\RemoteRunner.hta\\ [java] UA-CPU: x86\\ [java] Accept-Encoding: gzip, deflate\\ [java] User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)\\ [java] Host: localhost:5555\\ [java] Content-Length: 16\\ [java] Connection: keep-alive\\ [java] Cache-Control: no-cache\\ [java]\\ [java]\\ [java] 10:51:12.550 DEBUG - Try HttpContext[/selenium-server/driver,/selenium-server/driver],0\\ [java] 10:51:12.550 DEBUG - Try HttpContext[/selenium-server,/selenium-server],0\\ [java] 10:51:12.550 DEBUG - Handler org.mortbay.http.handler.SecurityHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.550 DEBUG - Handler org.openqa.selenium.server.StaticContentHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.550 DEBUG - PATH=/driver/ RESOURCE=file:/C:/Programme/selenium-grid-1.0.3/MISSING%20RESOURCE\\ [java] 10:51:12.550 DEBUG - Looking for file:/C:/Programme/selenium-grid-1.0.3/MISSING%20RESOURCE\\ [java] 10:51:12.565 DEBUG - Handler org.openqa.selenium.server.SessionExtensionJsHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.565 DEBUG - Handler org.openqa.selenium.server.htmlrunner.SingleTestSuiteResourceHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.565 DEBUG - Handler org.openqa.selenium.server.htmlrunner.SeleniumHTMLRunnerResultsHandler@11a698a\\ [java] 10:51:12.565 DEBUG - Handler org.openqa.selenium.server.CachedContentTestHandler@7ced01\\ [java] 10:51:12.565 DEBUG - Handler org.openqa.selenium.server.SeleniumDriverResourceHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.581 DEBUG - Thread name: SocketListener0-0\\ [java] 10:51:12.581 DEBUG - req: POST /selenium-server/driver/?&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_30996&sessionId=7fb10a655c194a8180e12cfc90f68784&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1229421072550&sequenceNumber=1 HTTP/1.1\\ [java] Accept: */*\\ [java] Accept-Language: de\\ [java] Referer: file://C:\DOKUME~1\DECLAN\LOKALE~1\Temp\customProfileDir7fb10a655c194a8180e12cfc90f68784\core\RemoteRunner.hta\\ [java] UA-CPU: x86\\ [java] Accept-Encoding: gzip, deflate\\ [java] User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)\\ [java] Host: localhost:5555\\ [java] Content-Length: 16\\ [java] Connection: keep-alive\\ [java] Cache-Control: no-cache\\ [java]\\ [java]\\ [java] 10:51:12.581 DEBUG - ---------retrieving CommandQueue for sel_30996\\ [java] 10:51:12.581 DEBUG - Browser 7fb10a655c194a8180e12cfc90f68784/:top sel_30996 posted OK,\\ [java] 10:51:12.581 DEBUG - ---------retrieving CommandQueue for sel_30996\\ [java] 10:51:12.581 DEBUG - putting command: OK,\\ [java] 10:51:12.581 DEBUG - ..command put?: true\\ [java] 10:51:12.581 DEBUG - sel_30996 commandHolder sel_30996 getCommand() called\\ [java] 10:51:12.581 DEBUG - waiting for data for at most 10 more s\\ [java] 10:51:12.581 DEBUG - data from polling: OK,\\ [java] 10:51:12.581 DEBUG - sel_30996 commandResultHolder sel_30996 getResult() -> OK,\\ [java] 10:51:12.597 DEBUG - wait is over: window 'null' was seen at last (sel_30996)\\ [java] 10:51:12.597 DEBUG - sel_30996 marked as NOT just loaded\\ [java] 10:51:12.597 DEBUG - Current uniqueId set to sel_30996, frameAddress = :top\\ [java] 10:51:12.597 DEBUG - ---------retrieving CommandQueue for sel_30996\\ [java] 10:51:12.597 DEBUG - sel_30996 commandHolder sel_30996 getCommand()\\ [java] 10:51:12.597 DEBUG - putting command: json={command:"setContext",target:"7fb10a655c194a8180e12cfc90f68784",value:""}\\ [java] 10:51:12.597 DEBUG - ..command put?: true\\ [java] 10:51:12.597 DEBUG - sel_30996 commandResultHolder sel_30996 getResult() called\\ [java] 10:51:12.612 DEBUG - waiting for data for at most 1800 more s\\ [java] 10:51:12.597 DEBUG - data from polling: json={command:"setContext",target:"7fb10a655c194a8180e12cfc90f68784",value:""}\\ [java] 10:51:12.612 DEBUG - sel_30996 commandHolder sel_30996 getCommand() -> json={command:"setContext",target:"7fb10a655c194a8180e12cfc90f68784",value:""}\\ [java] 10:51:12.612 DEBUG - res to sel_30996: json={command:"setContext",target:"7fb10a655c194a8180e12cfc90f68784",value:""}\\ [java] 10:51:12.628 DEBUG - Handled by org.openqa.selenium.server.SeleniumDriverResourceHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.643 DEBUG - RESPONSE:\\ [java] HTTP/1.1 200 OK\\ [java] Date: Tue, 16 Dec 2008 09:51:12 GMT\\ [java] Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_07\\ [java] Cache-Control: no-cache\\ [java] Pragma: no-cache\\ [java] Expires: Thu, 01 Jan 1970 00:00:00 GMT\\ [java] Content-Type: text/plain\\ [java] Content-Length: 1078\\ [java]\\ [java]\\ [java] 10:51:12.706 DEBUG - REQUEST from
SocketL...@0.0.0.0:5555:\\ [java] POST /selenium-server/driver/?&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_30996&sessionId=7fb10a655c194a8180e12cfc90f68784&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1229421072690&sequenceNumber=2 HTTP/1.1\\ [java] Accept: */*\\ [java] Accept-Language: de\\ [java] Referer: file://C:\DOKUME~1\DECLAN\LOKALE~1\Temp\customProfileDir7fb10a655c194a8180e12cfc90f68784\core\RemoteRunner.hta\\ [java] UA-CPU: x86\\ [java] Accept-Encoding: gzip, deflate\\ [java] User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)\\ [java] Host: localhost:5555\\ [java] Content-Length: 13\\ [java] Connection: keep-alive\\ [java] Cache-Control: no-cache\\ [java]\\ [java]\\ [java] 10:51:12.706 DEBUG - Try HttpContext[/selenium-server/driver,/selenium-server/driver],0\\ [java] 10:51:12.706 DEBUG - Try HttpContext[/selenium-server,/selenium-server],0\\ [java] 10:51:12.706 DEBUG - Handler org.mortbay.http.handler.SecurityHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.706 DEBUG - Handler org.openqa.selenium.server.StaticContentHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.706 DEBUG - PATH=/driver/ RESOURCE=file:/C:/Programme/selenium-grid-1.0.3/MISSING%20RESOURCE\\ [java] 10:51:12.706 DEBUG - Looking for file:/C:/Programme/selenium-grid-1.0.3/MISSING%20RESOURCE\\ [java] 10:51:12.721 DEBUG - Handler org.openqa.selenium.server.SessionExtensionJsHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.721 DEBUG - Handler org.openqa.selenium.server.htmlrunner.SingleTestSuiteResourceHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.721 DEBUG - Handler org.openqa.selenium.server.htmlrunner.SeleniumHTMLRunnerResultsHandler@11a698a\\ [java] 10:51:12.721 DEBUG - Handler org.openqa.selenium.server.CachedContentTestHandler@7ced01\\ [java] 10:51:12.721 DEBUG - Handler org.openqa.selenium.server.SeleniumDriverResourceHandler in HttpContext[/selenium-server,/selenium-server]\\ [java] 10:51:12.737 DEBUG - Thread name: SocketListener0-0\\ [java] 10:51:12.737 DEBUG - req: POST /selenium-server/driver/?&localFrameAddress=top&seleniumWindowName=&uniqueId=sel_30996&sessionId=7fb10a655c194a8180e12cfc90f68784&counterToMakeURsUniqueAndSoStopPageCachingInTheBrowser=1229421072690&sequenceNumber=2 HTTP/1.1\\ [java] Accept: */*\\ [java] Accept-Language: de\\ [java] Referer: file://C:\DOKUME~1\DECLAN\LOKALE~1\Temp\customProfileDir7fb10a655c194a8180e12cfc90f68784\core\RemoteRunner.hta\\ [java] UA-CPU: x86\\ [java] Accept-Encoding: gzip, deflate\\ [java] User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)\\ [java] Host: localhost:5555\\ [java] Content-Length: 13\\ [java] Connection: keep-alive\\ [java] Cache-Control: no-cache\\ [java]\\ [java]\\ [java] 10:51:12.737 DEBUG - ---------retrieving CommandQueue for sel_30996\\ [java] 10:51:12.737 DEBUG - Browser 7fb10a655c194a8180e12cfc90f68784/:top sel_30996 posted OK