In
this blog we will learn, how we can integrate our protractor test case with Jenkins.
1) On Jenkins Home Page, Click on
Create New Item.
3) Under Build in add build Step, Select execute windows batch command for Windows and execute shall for MAC OS.
4)
Provide the path of your runner
or config.Js file and execute it using protractor run.js. Here run is the name
of my runner file. (Please note here I am assuming you already have protractor installed in your local or remote machine)
5)
Apply and Save Changes Now your protractor test is ready to run through Jenkins.
We need to start the webdriver manager as well. Could you please add that step.I think it will not work if that step is added
ReplyIf we want ti try from Git, how do i updte
Reply