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

Coursera

Advanced Framework Development and Integration

Packt via Coursera

Overview

This course offers an in-depth exploration of advanced framework development and integration for automation testing professionals. Starting with the Pytest framework, you'll learn its advantages, command-line operations, and grouping mechanisms, along with essential features like fixtures and the conftest file for data-driven testing and HTML report generation. The course covers logging in Python tests, creating reusable logging utilities, and integrating logs into HTML reports. You'll develop an end-to-end Selenium Python framework from scratch, adhering to standards, implementing the page object design pattern, and integrating custom utilities. The course also includes data-driven testing modules for handling multiple datasets efficiently. You'll learn to integrate your framework with Jenkins for automating tasks and setting up parameterized job variables. The final segments cover Excel data-driven testing and version control with Git, teaching you to manage repositories, commits, branches, and resolve merge conflicts. This course is ideal for automation testers, software engineers, and QA professionals with basic knowledge of Python and Selenium, aiming to advance their testing framework skills.

Syllabus

  • Part I - Unit Testing Framework
    • In this module, we will explore the fundamentals and advanced features of the pytest framework. We will start with understanding the advantages of pytest, and move on to running tests from the terminal, selecting specific tests to run, and grouping tests using pytest marks. Additionally, we will cover the importance of fixtures and the conftest file, delve into data-driven testing, and learn how to generate comprehensive HTML reports for test cases.
  • Part II - Logging and Generating HTML Reports in Python Framework
    • In this module, we will focus on the importance of logging within Python tests and how to integrate these logs into HTML reports. We will begin with an introduction to logging in Python tests and the crucial role of file handlers. Then, we will move on to building reusable utilities for logging and demonstrate how to incorporate these logs into pytest-generated HTML reports for better test management and analysis.
  • Part III - Developing End-to-End Selenium Python Framework from Scratch
    • In this module, we will guide you through the process of developing an end-to-end Selenium Python framework from scratch. Starting with an overview of Selenium updates and best practices for writing tests, we will delve into generalizing browser invocation code, creating setup fixtures, and passing command-line options for browser selection. We will also cover the implementation and optimization of page objects, creating custom utilities, and integrating logging and data-driven testing mechanisms to enhance the robustness and maintainability of your test framework.
  • Part IV - Integrating Framework to Jenkins
    • In this module, we will explore how to integrate your Selenium Python framework with Jenkins, a popular CI/CD tool. We will start with an introduction to Jenkins and its functionalities. Then, we will demonstrate the integration of your test framework into Jenkins, setting up parameterized job variables for browser selection, and creating JUnit results using pytest commands to streamline your continuous integration and delivery processes.
  • Part V - Reading and Writing Data from Excel to Selenium Python Framework
    • In this module, we will cover the essentials of incorporating Excel data-driven testing into your Selenium Python framework. We will begin with an introduction to the concept and benefits of Excel data-driven testing. Following that, we will demonstrate how to read and write data from Excel files, build utilities to retrieve and load data, and integrate these utilities into your Selenium Python framework for efficient data management and testing.
  • Important Tips for Your New Job
    • In this module, we will wrap up the course by summarizing the key concepts and skills you have learned. We will provide valuable tips and best practices to help you apply your newfound knowledge in a new job, focusing on continuous improvement and effective test automation strategies.
  • Understanding Version Control System GIT
    • In this module, we will delve into the fundamentals of Git, a critical version control system for managing code. We will start with an introduction to Git and its importance, followed by creating Git configurations and repositories. We will cover key concepts such as staging and committing changes, adding remote repositories, and performing end-to-end working examples on Git commands. Additionally, we will explore the importance of branching in Git and provide practical guidance on resolving merge conflicts.

Taught by

Packt - Course Instructors

Reviews

Start your review of Advanced Framework Development and Integration

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.