Executing Protractor Test with Jenkins



Executing Protractor Test with Jenkins

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.

2)     Enter the Name of Job and select it as Freestyle Project.






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.





SHARE THIS

Author:

My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post
December 19, 2018 at 12:52 PM

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

Reply
avatar