Packt
Advanced Automation Frameworks and Testing with TestNG
Packt

Advanced Automation Frameworks and Testing with TestNG

This course is part of Selenium WebDriver 4 with Java - Zero To Hero Specialization

Taught in English

Packt

Instructor: Packt

Included with Coursera Plus

Course

Gain insight into a topic and learn the fundamentals

Intermediate level

Recommended experience

11 hours (approximately)
Flexible schedule
Learn at your own pace

What you'll learn

  • Grasp the purpose and structure of the Page Object Model and Page Factory, and comprehend the use cases of Log4j2 for effective logging.

  • Set up TestNG for structured test cases and utilize its annotations and advanced features to enhance test execution efficiency.

  • Create and manage advanced reports with Extent Reports to assess and document test outcomes.

  • Execute data-driven tests and handle file uploads using Selenium WebDriver to build robust automation frameworks.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

September 2024

Assessments

6 assignments

Course

Gain insight into a topic and learn the fundamentals

Intermediate level

Recommended experience

11 hours (approximately)
Flexible schedule
Learn at your own pace

See how employees at top companies are mastering in-demand skills

Placeholder

Build your subject-matter expertise

This course is part of the Selenium WebDriver 4 with Java - Zero To Hero 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
Placeholder
Placeholder

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Placeholder

There are 14 modules in this course

In this module, we will introduce you to the automation framework, focusing on the Page Object Model (POM). You will learn how to create object repositories and page classes, understand the Page Factory concept, and discover techniques to find all links on a webpage, setting a strong foundation for robust automation.

What's included

5 videos2 readings

In this module, we will delve into Log4j2 for logging infrastructure, covering its introduction, default configurations, and custom logger setup. You will learn how to log messages to both the console and files, and integrate Log4j2 into test cases, enhancing the logging capabilities of your automation framework.

What's included

6 videos

In this module, we will introduce you to the TestNG framework, guiding you through its setup and integration with Eclipse. You will learn how to add TestNG Javadoc to your development environment, setting the stage for effective test management and execution.

What's included

3 videos1 assignment

In this module, we will cover the essential annotations and assertions in TestNG. You will learn how to write test classes, use assert methods, and apply annotations like @BeforeMethod, @AfterMethod, @BeforeClass, and @AfterClass to manage your test setup and teardown processes efficiently.

What's included

7 videos

In this module, we will explore advanced features of TestNG, including prioritizing test methods, grouping related tests, and creating dependencies. You will also learn how to disable specific tests and add timeouts, ensuring precise control over your test execution flow.

What's included

6 videos

In this module, we will explore how to parameterize test methods in TestNG using the XML file, enabling dynamic data input. Additionally, you will learn how to run tests, classes, and methods in parallel, optimizing your test execution for enhanced efficiency and speed in your automation framework.

What's included

2 videos1 assignment

In this module, we will present a practice exercise on executing Selenium WebDriver test methods across multiple browsers using the parallel attribute of the TestNG framework. You will also receive a detailed solution to the exercise, helping you apply parallel execution techniques and overcome challenges in real-world testing scenarios.

What's included

2 videos

In this module, we will delve into the use of DataProviders in the TestNG framework. Through a two-part video series, you will learn how to run test methods with multiple sets of data, implementing parameterized tests that enhance your test coverage and flexibility, ensuring robust and comprehensive test automation.

What's included

2 videos

In this module, we will explore the ITestResult interface in the TestNG framework, showing how to access the status and results of test methods. You will learn to implement functionality to take screenshots upon test failure using TestNG, Selenium WebDriver, and Java, enhancing your debugging and error-reporting capabilities.

What's included

2 videos1 assignment

In this module, we will cover TestNG listeners, including IInvokedMethodListener, ITestListener, and ISuiteListener. You will learn how to implement these listeners to monitor test execution and refactor your code for seamless integration, enhancing the robustness of your test automation framework.

What's included

4 videos

In this module, we will demonstrate how to generate HTML reports and write log statements in the TestNG framework. You will learn to create comprehensive and structured reports, providing detailed insights into your test execution for better analysis and tracking.

What's included

1 video

In this module, we will introduce you to advanced reporting with Extent Reports. You will learn to implement advanced reporting features, attach screenshots, and manage multiple test cases in a single report, elevating your reporting capabilities to a professional level.

What's included

6 videos1 assignment

In this module, we will focus on data-driven testing with Selenium WebDriver, showing how to set up data-driven tests, read and write data from Excel files, and implement practical examples with multiple datasets, enhancing the flexibility and scope of your test automation.

What's included

5 videos

In this module, we will cover file upload techniques and handling Windows authentication using Selenium WebDriver. You will learn how to upload files on Windows and Mac using the Robot class, install and use AutoIT for file uploads, and manage Windows HTTP authentication, enhancing your automation capabilities for various file handling and authentication scenarios.

What's included

5 videos1 reading2 assignments

Instructor

Packt
Packt
106 Courses1,615 learners

Offered by

Packt

Recommended if you're interested in Software Development

Why people choose Coursera for their career

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."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
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."
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."

New to Software Development? Start here.

Placeholder

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