Selenium Automation FrameWork Using Page Object Model


Selenium Automation FrameWork Using Page Object Model


In this article, I will be sharing the complete Selenium automation framework using the Page Object Model.

In this framework, I have automated a few scenarios for Amazon Web Page. Please Note for using this Framework you need to change your username and password in the config file.
Below are some of the important feature of this Testing framework


ü Programming Language Used: JAVA
ü JDK Version:1.8
ü Browser: Chrome (Code will work in all browser just change the browser name in Config file)
ü Framework Used: TestNg with Data-driven approach
ü Design Pattern: Page Object Model.
ü Project Type: Maven
ü Loggers: Log4j
ü Screenshot: TakeScreenshot Interface
ü Listeners: RetryListner,WebElement Listener and ITestListner
ü Reporting: TestNg Reports, Allure and Extent Report
ü Code Checkin: Git Repository
ü CICD Tools: Jenkins

You can execute all the test either through Command prompt, Eclipse Console, Maven Command-Line or Maven Eclipse, TestNG or through Jenkins, I have validated the code through all the possible ways.

Please click on the 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
July 14, 2019 at 1:09 PM

Hi Ankur, you have any idea how we can automate maps using selenium java?
This architecture is made of leaftet.js.framework

Reply
avatar