In this advanced course, you'll journey through automation frameworks and continuous integration, starting with Python logging infrastructure, mastering message logging, custom log formats, and logger utilities. You'll delve into the unittest framework, writing test cases, implementing setup and teardown methods, and running tests from the terminal.
Advanced Automation Frameworks and Continuous Integration
This course is part of Selenium WebDriver 4 with Python - Zero To Hero Specialization
Instructor: Packt
Included with
Recommended experience
What you'll learn
Implement a logging infrastructure in Python
Write and manage test cases using unittest and Pytest
Build and refine robust automation frameworks with Selenium WebDriver
Perform data-driven testing and manage test suites
Skills you'll gain
Details to know
Add to your LinkedIn profile
September 2024
5 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- 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
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
There are 12 modules in this course
In this module, we will delve into the logging infrastructure in Python. You'll learn how to log messages effectively, customize log formats, and use both console and configuration file-based logging. Additionally, we'll guide you through creating a versatile custom logger utility for robust logging across various applications.
What's included
5 videos2 readings
In this module, we will explore the unittest infrastructure provided by Python. You will gain insights into writing test cases, implementing setup and teardown methods, and asserting test results. This section also covers practical tips on exporting PYTHONPATH, running tests from the terminal, and creating comprehensive test suites.
What's included
7 videos
In this module, we will explore the advanced features of the pytest framework. You'll learn to install pytest, write scripts, and use fixtures for more modular testing. We will also cover various test execution methods, including command-line arguments, and generating detailed HTML reports to enhance your testing process.
What's included
9 videos1 assignment
In this module, we will introduce the concepts and structure of an automation framework using Selenium WebDriver and Python. You will learn to convert test cases to the Page Object Model, refactor page object classes, and build custom Selenium drivers to enhance your testing efficiency.
What's included
8 videos
In this module, we will continue building the automation framework by adding logging capabilities, verifying test case results, and refining our test cases. You will also learn how to implement and refactor common setup methods using conftest to make your framework more maintainable and readable.
What's included
5 videos
In this module, we will further enhance our automation framework by implementing non-blocking assertions and screenshot functionality for test failures. We will also introduce the concepts of BasePage and Util classes to streamline your framework's structure and improve code reuse.
What's included
7 videos1 assignment
In this module, we will provide practical exercises to reinforce your understanding of the automation framework. You will practice using additional methods in the custom driver, solve exercises related to finding element locators, creating page and test classes, and handling dynamic elements like iframes.
What's included
8 videos
In this module, we will focus on data-driven testing techniques. You'll learn to set up the necessary tools, implement practical test cases, and develop utilities for reading CSV data. This approach will enable you to create more flexible and comprehensive test scenarios.
What's included
4 videos
In this module, we will cover the execution of a complete test suite. You will learn to implement a common navigation class, refactor login tests, and run your test suite on various browsers, ensuring comprehensive test coverage and reliability.
What's included
4 videos1 assignment
In this module, we will introduce you to Git and GitHub for version control. You will learn to install Git, manage repositories, handle branching and merging, and collaborate efficiently with your team using GitHub. Real-time examples will help you grasp the practical aspects of version control.
What's included
9 videos
In this module, we will delve into continuous integration with Jenkins. You will explore Jenkins' features, set up and secure Jenkins installations, manage plugins, and build remote projects using Git and Jenkins, enhancing your CI/CD pipeline.
What's included
8 videos1 assignment
In this module, we will conclude the course by discussing the next steps you can take, providing access to additional free resources, and suggesting further learning opportunities to continue advancing your automation and testing skills.
What's included
1 video1 reading1 assignment
Recommended if you're interested in Mobile and Web Development
Why people choose Coursera for their career
New to Mobile and Web Development? Start here.
Open new doors with Coursera Plus
Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy
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.