We have got a Test suite based on Selenium. Lately We shift our testing machine to a new machine, and since then the Selenium tests can't run properly.
The exception that I get is:
com.thoughtworks.selenium.SeleniumException: Failed to start new browser session: Error while launching browser at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
what's weired in my case is that I get it every first time that I try to run Selenium test suite and then on the second time I run it, it succeed. So nothing wrong in my code basically.
The code is:
The new machine is 64 bit and it try to load IE7 based on 64 bit. Again- sometimes the same tests run and sometimes not with exactly the same code.
another thing is that when it tries to run it is stuck for 30 minutes on the command: browser.start();
and then throws the exception above probably as a result of a timeout.
Has anyone any idea what caused this annoying error and how to avoid it?
i am also getting the same error. For the First time it is redirecting to some Blank.html page present in "C:\Users\<Currect User>\AppData\Local\Temp\CustomProfileDir*\Core\Blank.html". But from the second time onwards it is working fine. Could you please help me if you have resolved this issue.
Thanks in advance
subject: Selenium - problem in starting the browser