Note that there are some explanatory texts on larger screens.

plurals
  1. POSelenium suites is not running on Chrome and running on FF?
    text
    copied!<p><em><strong>Case 1:</em></strong></p> <p>When using:</p> <pre><code>C:\Program Files (x86)\Java\jdk1.7.0\bin&gt;java -jar C:\selenium\selenium-2.25.0\selenium-server-standalone-2.25.0.jar -htmlSuite "*googlechrome" https://accounts.google.com/ "C:\selenium\Ide\test_suite.htm" "C:\selenium\Ide\results.htm" </code></pre> <p>Getting Exception:</p> <blockquote> <p>HTML suite exception seen: java.lang.RuntimeException: java.lang.RuntimeException: Google Chrome could not be found in the path! Please add the directory containing ''chrome.exe' or 'google-chrome' or 'Google Chrome'' to your PATH environment avariable, or explicitly specify a path to Google Chrome like this: *googlechrome c:\blah\chrome.exe</p> </blockquote> <p><em><strong>Case 2</em></strong></p> <p><strong>So Changed</strong></p> <p>C:\Program Files (x86)\Java\jdk1.7.0\bin>java -jar C:\selenium\selenium-2.25.0\selenium-server-standalone-2.25.0.jar -htmlSuite "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" <a href="https://accounts.google.com/" rel="nofollow">https://accounts.google.com/</a> "C:\selenium\Ide\test_suite.htm" "C:\selenium\Ide\results.htm"</p> <p>Getting:</p> <p>HTML suite exception seen: java.lang.RuntimeException: Browser not supported: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe (Did you forget to add a *?)</p> <p>Supported browsers include: *firefox *mock *firefoxproxy *pifirefox *chrome *iexploreproxy *iexplore *firefox3 *safariproxy *googlechrome *konqueror *firefox2 *safari *piiexplore *firefoxchrome *opera *webdriver *iehta *custom</p> <pre><code> at org.openqa.selenium.server.browserlaunchers.BrowserLauncherFactory.browserNotSupported(BrowserLauncherFactory.java:151) at org.openqa.selenium.server.browserlaunchers.BrowserLauncherFactory.getBrowserLauncher(BrowserLauncherFactory.java:127) at org.openqa.selenium.server.htmlrunner.HTMLLauncher.getBrowserLauncher(HTMLLauncher.java:78) at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:138) at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:196) at org.openqa.selenium.server.SeleniumServer.runHtmlSuite(SeleniumServer.java:612) at org.openqa.selenium.server.SeleniumServer.boot(SeleniumServer.java:286) at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:244) at org.openqa.grid.selenium.GridLauncher.main(GridLauncher.java:54) </code></pre> <p>23:23:19.194 INFO - Shutting down...</p> <p><em><strong>Case 3</em></strong></p> <p><strong>So Changed again with browser as *chrome</strong></p> <p>it should run on chrome but it is running on Firefox </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload