Protractor Automation FrameWork Using Page Object Model

Protractor Automation FrameWork Using Page Object Model


In this article, I will be sharing the complete Protractor automation framework using Page Object Model which I have created using type and javascript.

In this framework I have automated a few scenarios for a Publicly available angular website named ProtoCommerce. Please Note for using this Framework you need to change your system configuration.




Please Note basic pre-requisite to use and run this framework is protractor should be installed on global as well as a project level. All the Java, TypeScript and Mocha Related frameworks should be installed in your ide.

Below are some of the important feature of this Testing framework

ü Programming Language Used: JAVA and TypeScript
ü Browser: Chrome (Code will work in all browser just change the browser name in Config file)
ü Framework Used: Mocha
ü Design Pattern: Page Object Model.
ü Loggers: Log4j
ü Screenshot: TakeScreenshot Interface
ü Reporting: Allure
ü Code Checkin: Git Repository
ü CICD Tools: Jenkins and Team city




You can execute all the test either through Command prompt, Visual Studio/WebStorm Console or through Jenkins, I have validated the code through all the possible ways.

Please click on Download button to download this Framework.







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