- Gynnad
- Posts : 1
Join date : 2012-03-30
Create Batch file for Selenium
Fri Mar 30, 2012 3:45 pm
Hello,
I want to create a batch file for running Selenium. I need it to run it in Jenkins, now you can ask why you will do it with a batch file? There is a plugin for it, so use that one. Now it is impossible to use that plugin because it is to complex what I want, so I need to do it with a batch file.
I'm using selenium-java-2.20.0 and Firefox.
Thanks already!
This is the code and the error that I get:
"C:\Users\User\Desktop>echo @off
@off
C:\Users\User\Desktop>java -jar C:\Users\User\Downloads\selenium-java-2.20.0\selenium-2.20.0\selenium-java-2.20.0.jar -htmlSuite "iexploreproxy" "localhost" "C:\Users\User\Documents\ISAAC\Test Mogelijkheden\Selenium\Runner.html" "C:\Reports\Selenium\result.html"
Failed to load Main-Class manifest attribute from C:\Users\User\Downloads\selenium-java-2.20.0\selenium-2.20.0\selenium-java-2.20.0.jar
C:\Users\User\Desktop>pause
Druk op een toets om door te gaan. . .
I want to create a batch file for running Selenium. I need it to run it in Jenkins, now you can ask why you will do it with a batch file? There is a plugin for it, so use that one. Now it is impossible to use that plugin because it is to complex what I want, so I need to do it with a batch file.
I'm using selenium-java-2.20.0 and Firefox.
Thanks already!
This is the code and the error that I get:
"C:\Users\User\Desktop>echo @off
@off
C:\Users\User\Desktop>java -jar C:\Users\User\Downloads\selenium-java-2.20.0\selenium-2.20.0\selenium-java-2.20.0.jar -htmlSuite "iexploreproxy" "localhost" "C:\Users\User\Documents\ISAAC\Test Mogelijkheden\Selenium\Runner.html" "C:\Reports\Selenium\result.html"
Failed to load Main-Class manifest attribute from C:\Users\User\Downloads\selenium-java-2.20.0\selenium-2.20.0\selenium-java-2.20.0.jar
C:\Users\User\Desktop>pause
Druk op een toets om door te gaan. . .
- is it possible to create a batch file and run test suite with that for selenium ide...?
- Running batch file from Selenium ide
- Selenium RC with NUnit throwing error - File does not exist. File 'c:\Projects\WebDriver\trunk\src\Selenium.Core\HttpCommandProcessor.cs'
- How to create this test case using selenium RC?
- Selenium -perl ( How to create data driven )
Permissions in this forum:
You cannot reply to topics in this forum