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

Coursera

Advanced Selenium WebDriver Techniques and Framework Design

Packt via Coursera

Overview

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.

Syllabus

  • Selenium 4.0 - Latest Features
    • 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.
  • Framework Part -1 - TestNG
    • 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.
  • Learn Java Object Oriented Principles Needed for Framework Development
    • 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.
  • Framework Part 1 - Create Maven Project and Prepare Functional End-to-End Test
    • 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.
  • Framework Part 2 - Design Pattern - Page Object and Factory Implementation
    • 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.
  • Framework Part 3 -Test Configuration Methods and Global Properties and Parallel Runs
    • 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.
  • Framework Part 4 – Test Strategy- Control Tests Execution- Run Parallel Tests
    • 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.
  • Framework Part 5 -Extent HTML Reports and TestNG Listeners and Thread Safe Execution
    • 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.
  • Framework Part 6 - Test Execution from Maven and Integration with Jenkins CI/CD
    • 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.
  • Framework Part 7 - Integrating Cucumber Wrapper into Selenium Framework
    • 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.
  • Framework Part 8 - Common Selenium Framework OOPS Interview Questions
    • 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.

Taught by

Packt

Reviews

Start your review of Advanced Selenium WebDriver Techniques and Framework Design

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.