Create Batch file for Selenium

Gynnad at 10h45
30
Mar
2012
Create Batch file for Selenium

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 [......]
About
This topic belongs to the forum
  • Numbers of topics : 2331
  • Numbers of messages : 6045
  • Numbers of users : 5011
  • Numbers of points : 257
Similar topics
is it possible to create a batch file and run test suite with that for selenium ide...? i know it is possible in rc and webdriver but i want to run selenium ide with .bat file..
Hi Friends, I am trying to run the selenium server from c# (Visual studio), without manually running the server from command prompt. Help me in this regard.
Hey all, i made a video tutorial so you can see how to reduce the size of your boot.wim file you need the following tools: Notepad ++ http://notepad-plus-plus.org/ gimagex https://www.autoitscript.com/site/autoit-tools/gimagex/ my ROOT.bat
I installed Selenium IDE in firefox. To run the html file generated in explorer , downloaded selenium RC . but when i give the command, java -jar selenium-server.jar -htmlSuite "*iexplore" "http://webaddress/"
If so, how does it work? This is very simple normally, but I can't figure out how to do this in Selenium IDE.
Forums from same category