Hi all , i started hub with ant ,i dont to start rc using ant instead i want to invoke it from code .iam using junit to run rc .please suggest me how??
A:
can any one help me running seleniumg grid.
i have started hub,if i start Rc with ant as specified in document it is working.
but i want to start the RC from code and register to hub?? and run test .
how to do it??
sasikumar
2010-07-23 10:24:11
for my convienence i started junit from my servlet (which will be invoked from UI - idont want to start from command line) and started selenium = new selenium()now for same thing i want rc to started from my code and connect to grid/hub.
sasikumar
2010-07-26 06:14:36
why do you want to do this?
AutomatedTester
2010-07-26 19:24:41
two things i want to start my server in different port from code.then i want to run different projects from a m/c. i want my rc to be registered from my code!
sasikumar
2010-07-27 10:19:18
A:
If you really must do this, take a look at the build.xml file. The "launch-remote-control" task should give you all the information you need. You can see the Java class being invoked as well as the arguments being passed through. You'll need to make sure you have everything in the vendor/ directory on your classpath, too.
nirvdrum
2010-08-12 11:40:40