I have the below commands to start grid and rc and then started
executing the junit script normally from eclipse.
java -jar selenium-server-standalone-2.5.0.jar -role hub
java -jar selenium-server-standalone-2.5.0.jar -role remotecontrol -
hub
On Aug 30, 12:45 pm, krishnam raju <
krishnamraju.capri...@gmail.com>
wrote:
> yes, you are correct.
>
> Br,
> Krishnam
>
> On Aug 30, 12:29 pm, Krishnan Mahadevan
>
>
>
>
>
>
>
> <
krishnan.mahadevan1...@gmail.com> wrote:
> > I guess you got my question wrong.
>
> > I was asking if you were spawning the Grid2 hub and the remote controls as
> > below :
>
> > This command will spawn the hub
>
> > java -jarselenium-server-standalone-2.5.0.jar -role hub
>
> > Run this command if you want to spawn a WebDriver Node [ If your code is
> >workingwith either WebDriverBackedSelenium or RemoteWebDriver]
>
> > java -jarselenium-server-standalone-2.5.0.jar -role webdriver -hubhttp://localhost:4444/grid/register-port5556
>
> > Run this command if you want to spawn a Remote Control Node [ If your code
> > isworkingwith DefaultSelenium ]
> > java -jarselenium-server-standalone-2.5.0.jar -role remotecontrol -hubhttp://localhost:4444/grid/register-port5557
>
> > After doing this, you might want to try and re-run your code again.
>
> > Hope that helps
>
> > Thanks & Regards
> > Krishnan Mahadevan
>
> > "All the desirable things in life are either illegal, expensive, fattening
> > or in love with someone else!"
>
> > On Tue, Aug 30, 2011 at 12:53 PM, krishnam raju <
>
> >
krishnamraju.capri...@gmail.com> wrote:
> > > @BeforeClass
> > > public static void setUpClass() throws Exception {
> > > selenium= new FortesDefaultSelenium(
> > > SeleniumInitHelper.getServerName(),
> > > SeleniumInitHelper.getServerPort(),
> > > SeleniumInitHelper.getBrowserMode(),
> > > SeleniumInitHelper.getBaseUrl(),
> > > SeleniumInitHelper.getResultBasePath(),
> > > SeleniumInitHelper.getScreenshotBasePath()
> > > );
> > > selenium.start();
>
> > > /**
> > > * Constructor
> > > * @param server the Server name or IP address of the machine where
> > >SeleniumServer is running
> > > * @param portseleniumserver listening port
> > > * @param browserEngine which Browser enginge is to use for the test
> > > * @param baseURL URL of the tested application
> > > * @param resultpath the location of the result file
> > > * @param screenshotPath the location of the screenshots
> > > */
> > > public FortesDefaultSelenium(String server, int port, String
> > > browserEngine, String baseURL,
> > > String resultpath, String screenshotPath) {
> > > super(createFortesLoggingCommandProcessor(server, port,
> > > browserEngine, baseURL, resultpath, screenshotPath));
> > > }
>
> > > On Tue, Aug 30, 2011 at 11:11 AM, Krishnan Mahadevan <
> > >
krishnan.mahadevan1...@gmail.com> wrote:
>
> > >> Please include the commands that you ran to spawn the Hub and WebDriver/RC
> > >> nodes.
>
> > >> Thanks & Regards
> > >> Krishnan Mahadevan
>
> > >> "All the desirable things in life are either illegal, expensive, fattening
> > >> or in love with someone else!"
>
> > >> On Tue, Aug 30, 2011 at 10:56 AM, krishnam raju <
> > >>
krishnamraju.capri...@gmail.com> wrote:
>
> > >>> Hi Luke,
>
> > >>> I tried with theseleniumserver 2.5.0 and see a new exception like
> > >>> below now.. can you pls draw me out of this trouble?
>
> > >>> java.lang.RuntimeException: Could not startSeleniumsession: org
> > >>> > > Error on theGridconsole when the script is run:
>
> > >>> > > [java] 29 Aug, 2011 5:30:42 PM
> > >>> > > com.thoughtworks.selenium.grid.hub.HubServlet forward
> > >>> > > [java] SEVERE: Failed to parse '1 => "*firefox C:\Program Files
> > >>> > > (x86)\Mozilla Firefox\firefox.exe", 2 => "http://
> > >>> > >
tdc290.tdclighthouse.com", 3 => "", cmd => "getNewBrowserSession"' :
> > >>> > > ERROR: Unknow
> > >>> > > n environment '*firefox C:\Program Files (x86)\Mozilla Firefox
> > >>> > > \firefox.exe'
>
> > >>> > > --
> > >>> > > You received this message because you are subscribed to the Google
> > >>> Groups
> > >>> > > "SeleniumUsers" group.
> > >>> > > To post to this group, send email
toseleni...@googlegroups.com
> > >>> "SeleniumUsers" group.
> > >>> To post to this group, send email
toseleni...@googlegroups.com.
> > >> "SeleniumUsers" group.
> > >> To post to this group, send email
toseleni...@googlegroups.com.
> > > "SeleniumUsers" group.
> > > To post to this group, send email
toseleni...@googlegroups.com.