Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Building a Complete Selenium Java Framework with Page Object Model - Step by Step Guide

Automation Step by Step via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to build a complete Selenium automation framework using Java and Page Object Model (POM) in this comprehensive tutorial. Master environment setup including Java JDK, Maven, and Eclipse IDE installation before diving into creating a Maven project with essential dependencies like Selenium, TestNG, and ExtentReports. Explore the implementation of Page Object Model design pattern through a structured project framework, covering base test class creation, page object development, and test case writing. Follow along with practical demonstrations of TestNG test execution, report generation, and proper framework organization. Gain hands-on experience with element locators, browser interactions, and best practices for maintaining a scalable and maintainable test automation framework.

Syllabus

00:00 Intro
01:31 Project Setup: Installing necessary tools
08:58 Create a Maven Project in Eclipse
23:00 Setup Project Structure POM
26:39 What is Page Object Model
31:45 Create Base Test Class
42:26 Implement Page Object Model POM
42:38 Step 1 - Under package pages create a java class LoginPage.java
58:21 Step 2 - Under package tests create a java class LoginTest.java
01:05:36 Step 3 - Add testng plugin to Eclipse
01:10:41 Step 4 - Run the test as testng test can also run using mvn test
01:13:37 Step 5 - Check TestNG Reports
01:16:20 Create testng.xml file
1:22:28 Element Locators & Browser Interactions Reference

Taught by

Automation Step by Step

Reviews

Start your review of Building a Complete Selenium Java Framework with Page Object Model - Step by Step Guide

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.