VOOZH about

URL: https://www.coursera.org/learn/packt-advanced-selenium-webdriver-techniques-and-framework-design-lfsuw

⇱ Advanced Selenium WebDriver Techniques and Framework Design | Coursera


Advanced Selenium WebDriver Techniques and Framework Design

Advanced Selenium WebDriver Techniques and Framework Design

Included with

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Understand the latest features of Selenium 4.0, including relative locators and window handling techniques.

  • Apply TestNG to organize and execute test cases, including parallel execution and custom configurations.

  • Evaluate the integration of Selenium with Jenkins for CI/CD, ensuring the automation framework meets continuous delivery needs.

  • Build a scalable automation framework with Maven, using Cucumber for BDD and Extent Reports for detailed logging and visualization.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

6 assignments

Taught in English

Build your subject-matter expertise

This course is part of the Selenium WebDriver with Java and Frameworks for all levels Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 11 modules in this course

This course is tailored for automation testers and developers looking to advance their expertise in Selenium WebDriver and framework design. Starting with the latest Selenium 4.0 features, you’ll explore new capabilities like relative locators and advanced window handling techniques. The course then delves into taking partial screenshots of WebElements and validating UX aspects through element dimensions, ensuring you can handle even the most intricate automation tasks.

Next, you'll embark on a comprehensive journey into framework design, beginning with TestNG and its powerful features, including annotations, parallel test execution, and custom test configurations. You will also learn to create and manage Maven projects, integrate Selenium with popular tools like Jenkins, and design efficient, maintainable frameworks. The course covers object-oriented programming principles necessary for framework development, ensuring your code is clean, reusable, and scalable. In the final segments, you'll implement advanced design patterns such as the Page Object Model and Factory and integrate Cucumber for behavior-driven development. You’ll gain hands-on experience with real-world examples, crafting end-to-end test scripts that can be executed in parallel across different environments. By the end of this course, you will have the knowledge and skills to design and implement sophisticated test automation frameworks that meet industry standards. This course is designed for experienced automation testers, QA engineers, and developers who have a basic understanding of Selenium WebDriver and are looking to deepen their knowledge in advanced techniques and framework design. Prior experience with Java and test automation tools is recommended.

In this module, we will explore the latest updates in Selenium 4.0, including the use of relative locators, managing multiple browser windows/tabs, and advanced WebElement handling techniques such as taking partial screenshots and validating element dimensions for UX purposes.

What's included

5 videos2 readings

5 videosTotal 54 minutes
  • Introduction to Relative Locators10 minutes
  • Relative Locators with Real-Time Examples10 minutes
  • Invoking Multiple Windows/Tabs from Selenium21 minutes
  • Taking WebElement Partial Screenshot with Selenium8 minutes
  • Capturing Height and Width of WebElement for UX Validation5 minutes
2 readingsTotal 20 minutes
  • Introduction to the Course 'Advanced Selenium WebDriver Techniques and Framework Design'10 minutes
  • Full Specialization Resources10 minutes

In this module, we will delve into TestNG, highlighting its advantages and how it integrates into automation frameworks. We will cover everything from basic setup and XML configurations to advanced features like test prioritization, parallel execution, and using annotations for optimized test management.

What's included

15 videos

15 videosTotal 182 minutes
  • Why TestNG and Its Advantages7 minutes
  • Running Testcases in TestNG without Java Compiler9 minutes
  • Importance of xml File in TestNG Configuration13 minutes
  • Prioritizing the Testcases with TestNG12 minutes
  • Include and Exclude Mechanism to Control Testcases12 minutes
  • Executing the Testcases at Package Level with Regex12 minutes
  • Mastering TestNG Annotations: BeforeTest and AfterTest Explained13 minutes
  • How to Use TestNG Suite and Method-Level Annotations: BeforeSuite, AfterSuite, and BeforeMethod13 minutes
  • Usage of Groups Functionality in TestNG15 minutes
  • Annotations Helper Attributes with Examples11 minutes
  • Parameterising from TestNG xml File14 minutes
  • TestNG DataProvider: Running Tests with Multiple Data Combinations15 minutes
  • Running Parameterized Tests with DataProvider in TestNG9 minutes
  • Listeners Interface in TestNG Framework16 minutes
  • Running Tests in Parallel and Generating Reports13 minutes

In this module, we will focus on essential Java OOP principles that are crucial for framework development. You will learn how to streamline your test code by leveraging inheritance with TestNG annotations, and how to use constructors and the 'super' keyword to pass values efficiently, ensuring a robust and reusable test framework.

What's included

3 videos1 assignment

3 videosTotal 36 minutes
  • How TestNG Annotations help with Inheritance to remove boilerPlate code in Test9 minutes
  • How to pass values from test through Parameterized Constructor & this keyword13 minutes
  • Usage of Super keyword in the Constructor to pass values to Parent Class13 minutes
1 assignmentTotal 15 minutes
  • Assessment 115 minutes

In this module, we will guide you through the process of creating a Maven project tailored for Selenium test automation. You will learn how to set up dependencies, execute comprehensive end-to-end tests, and leverage Java Streams for efficient data processing within your tests.

What's included

8 videos

8 videosTotal 76 minutes
  • FAQs about Framework Design - (Must Watch)6 minutes
  • Create New Maven Project and All Framework Dependencies10 minutes
  • Ecommerce Application Demo to Be Used in the Framework5 minutes
  • Selenium Program on WebDriverManager - Login- Get Products List11 minutes
  • Selenium Program to Retrieve Product and Add to Cart Based on Java Streams14 minutes
  • Implementation of Explicit Wait to Handle Application Synchronously on Loading10 minutes
  • Logic to Verify Items in the Cart with Streams and Checkout10 minutes
  • Wrapping Up End-to-End Automation Script on Purchasing Order in Ecommerce App11 minutes

In this module, we will introduce you to the Page Object Model (POM) design pattern, crucial for maintaining scalable test frameworks. You’ll learn how to create page object classes, implement Page Factory, and refactor your tests to ensure they are maintainable and efficient.

What's included

8 videos

8 videosTotal 82 minutes
  • What Is Page Object Model? Advantages of Its Implementation5 minutes
  • Creating Page Object Classes for Login Screen and Migrating the Test14 minutes
  • Implementing Action Methods for Page Factory Web Elements to Implement Logic9 minutes
  • Creating Abstract Components to Reuse the Common Methods/Code in framework13 minutes
  • Page Object Class Implementation for Product Catalogue Page and Update Test13 minutes
  • Speed Up Your Test Execution - Fix for Application Slowness in the Backend4 minutes
  • Creating Common Methods to Abstract Component and Extending It in Page Classes11 minutes
  • Wrapping Up the Whole Test with Complete Refactor into Page Object Model12 minutes

In this module, we will focus on optimizing your test framework by configuring common test methods and global properties. You will also learn how to execute tests in parallel and use TestNG attributes to manage complex test scenarios efficiently.

What's included

6 videos1 assignment

6 videosTotal 71 minutes
  • Creating Base Test Which Holds Common Test Configuration Methods16 minutes
  • Initialize Driver and Create Utility to Launch App with BeforeMethod Annotation6 minutes
  • Create New Error Validation Test as Per Framework Standards Developed Until Now14 minutes
  • Implement Test Strategy for Framework on How Tests Are Divided Based on Modules13 minutes
  • Create New Test Methods with Dependency Attribute Based on Test Strategy Design14 minutes
  • How to Run Tests/Classes in Parallel and Apply Groups Using TestNG.xml10 minutes
1 assignmentTotal 15 minutes
  • Assessment 215 minutes

In this module, we will outline strategies for executing parallel tests and managing test execution control. You will learn how to integrate parameterization into your tests using data providers, handle test data dynamically, and implement utilities for capturing screenshots of failed tests.

What's included

4 videos

4 videosTotal 44 minutes
  • Agenda of Implementing Parameterization into Tests with TestNG Data Provider11 minutes
  • Integration of HashMap to Data Provider to Send the Data as One Hash Object8 minutes
  • How to Read the Data from JSON Files and Create the List of HashMaps for Testing17 minutes
  • How to Create Screenshot Utility in Base Test Class for Catching Failed Tests7 minutes

In this module, we will focus on enhancing your test framework with HTML reporting and thread-safe execution. You’ll learn how to generate comprehensive Extent Reports, integrate them with TestNG listeners, and implement thread-safe practices using the ThreadLocal class to avoid synchronization problems during test execution.

What's included

5 videos

5 videosTotal 80 minutes
  • What Are Extent Reports? Quick 30-Minute Tutorial27 minutes
  • Integrating Extent Reports to Existing Framework with the Help of TestNG Listeners14 minutes
  • Attaching Screenshot to Reports from Listeners on Automatic Test Failures18 minutes
  • Concurrency Problem -Implement ThreadLocal Class to Avoid Sync Issues in Tests10 minutes
  • IRetryAnalyzer to rerun the flaky failed Selenium tests in the framework11 minutes

In this module, we will explore how to run tests from the terminal using Maven, and integrate your Selenium framework with Jenkins for continuous integration and deployment (CI/CD). You’ll also learn to schedule automated test runs and configure them for headless execution within Jenkins.

What's included

6 videos1 assignment

6 videosTotal 58 minutes
  • How to Run Tests in the Framework from Terminal Using Maven Commands14 minutes
  • Set Global Parameters Using Maven Commands and Update Tests at Runtime12 minutes
  • Install Jenkins in the Local System for CI/CD4 minutes
  • Integrate the Selenium Framework with Jenkins and Parameterize Jenkin Job11 minutes
  • How to Run Tests in Headless Mode and Integrate the Parameter in Jenkins10 minutes
  • Schedule Jenkin Jobs with Regular Expression and Trigger Nightly Automation Jobs7 minutes
1 assignmentTotal 15 minutes
  • Assessment 315 minutes

In this module, we will cover the integration of Cucumber into your Selenium framework, enabling behavior-driven development (BDD). You will learn how to set up Cucumber, create feature files, and implement step definitions to control the execution of your test scenarios effectively.

What's included

7 videos

7 videosTotal 95 minutes
  • Important Note - How Much Cucumber Does This Course Cover?5 minutes
  • Introduction to Cucumber and Its Terminologies with Examples28 minutes
  • Setting Up Cucumber Dependencies into Framework and Creating Feature Files13 minutes
  • Implement Step Definitions for Features and Understand Regular Expressions15 minutes
  • Inject Selenium Code in Step Definition and Introduction to Tidy Gherkin Plugin9 minutes
  • Introduction to TestNG Test Runner to Run Cucumber Feature Files11 minutes
  • Control the Cucumber Feature Files Execution with Tags and Background Keywords15 minutes

In this module, we will prepare you for interviews by discussing common questions related to Selenium framework design and object-oriented programming (OOP) principles. You will also gain insights into explaining your framework’s architecture and design choices during interviews.

What's included

3 videos1 reading3 assignments

3 videosTotal 45 minutes
  • Top Selenium Framework Interview Questions and Expert Answers13 minutes
  • Advanced Selenium Framework: Encapsulation, Thread Safety, and Flaky Test Handling24 minutes
  • Selenium Framework Architecture Diagram - Explained8 minutes
1 readingTotal 10 minutes
  • Conclusion to the Course 'Advanced Selenium WebDriver Techniques and Framework Design'10 minutes
3 assignmentsTotal 90 minutes
  • Assessment 415 minutes
  • Full Course Assessment60 minutes
  • Full Course Practice Assessment15 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Offered by

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions

Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.

If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.

Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.

If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.

This course is currently available only to learners who have paid or received financial aid, when available.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,