Created
May 27, 2011 20:42
-
-
Save terrancesnyder/996130 to your computer and use it in GitHub Desktop.
selenium grid console on windows as service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create server | |
cmd /c sc create SeleniumGrid binPath= "cmd /c ant -f \"C:\opt\selenium-grid-1.0.8\build.xml\" launch-hub " DisplayName= "Selenium Grid Server" | |
# create client | |
cmd /c sc create SeleniumGridClient binPath= "cmd /c ant -f \"C:\opt\selenium-grid-1.0.8\build.xml\" -Dport=4545 -Denvironment=*chrome launch-remote-control " DisplayName= "Selenium Grid Client" | |
# This doesn't work, want to create a tc7 server... sigh... | |
cmd /c sc create Tomcat binPath= "C:\opt\tomcat7\srvany.exe" start= "auto" DisplayName= "Apache Tomcat Server" | |
# Save this as tomcat-service.reg | |
REGEDIT4 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameters] | |
"Application"="cmd /c \"C:\\opt\\tomcat7\\server.bat\"" | |
"AppParameters"="start" | |
"AppDirectory"="C:\\opt\\tomcat7\\" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment