Display results as :

Rechercher Advanced Search


Create Batch file for Selenium

View previous topic View next topic Go down

Create Batch file for Selenium

Post by Gynnad on Fri Mar 30, 2012 3:45 pm


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

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

Druk op een toets om door te gaan. . .


Posts : 1
Join date : 2012-03-30

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum