VOOZH about

URL: https://www.coursera.org/learn/packt-automation-framework-design-using-testng-xvdb7

⇱ Automation Framework Design Using TestNG | Coursera


Automation Framework Design Using TestNG

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Automation Framework Design Using TestNG

Included with

β€’

Learn more

Ask Coursera

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

Recommended experience

8 hours to complete
Flexible schedule
Learn at your own pace

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

Recommended experience

8 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Understand the fundamentals of TestNG and its applications in test automation.

  • Apply the principles of building an automation framework from scratch using TestNG.

  • Organize and manage test execution using TestNG XML files effectively.

  • Integrate TestNG with Selenium to enhance test automation capabilities.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

5 assignments

Taught in English

There are 9 modules in this course

Updated in May 2025.

This course now features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. This course equips you with the skills and knowledge to build an automation framework. - Covering both basic and advanced concepts in TestNG and framework building, you’ll start with basic annotations, test execution management, and framework design. - You'll delve into the page object model and page factory, then explore advanced TestNG concepts and annotations, parallel execution, and data-driven testing. - The course emphasizes TestNG, Java, Maven, Selenium WebDriver, the page object model, and page factory design. By the end, you'll be able to build an automation framework from scratch. Ideal for fresh graduates, QE managers seeking better automation solutions, and QTP/UFT professionals transitioning to in-demand testing tools. This course is perfect for software testers, QA engineers, and developers who want to enhance their automation skills. A basic understanding of Java and Selenium WebDriver is recommended to fully benefit from the content.

In this module, we will introduce you to the fundamentals of TestNG. You will learn how to install TestNG, automate your first test, and understand the various assertions available in TestNG, including the differences between hard and soft assertions.

What's included

5 videos1 reading

5 videosβ€’Total 36 minutes
  • Introductionβ€’2 minutes
  • TestNG Installationβ€’5 minutes
  • Automating the First TestNG Testβ€’11 minutes
  • TestNG Assertionsβ€’11 minutes
  • Hard Versus Soft Assertionsβ€’7 minutes
1 readingβ€’Total 10 minutes
  • Full Course Resourcesβ€’10 minutes

In this module, we will explore the basic annotations used in TestNG. You will learn how to use the BeforeMethod, AfterMethod, BeforeClass, and AfterClass annotations to manage your test execution flow.

What's included

2 videos

2 videosβ€’Total 14 minutes
  • BeforeMethod and AfterMethod Annotationsβ€’8 minutes
  • BeforeClass and AfterClass Annotationsβ€’6 minutes

In this module, we will delve into TestNG XML files and their role in managing test executions. You will learn how to create and configure XML files to include or exclude specific tests and enhance your test suite management.

What's included

2 videos1 assignment

2 videosβ€’Total 18 minutes
  • Managing Test Execution Using TestNG XML Filesβ€’9 minutes
  • Include and Exclude Methods in XML Fileβ€’9 minutes
1 assignmentβ€’Total 15 minutes
  • Assessment 1β€’15 minutes

In this module, we will cover advanced annotations in TestNG. You will learn how to use BeforeTest, AfterTest, BeforeSuite, and AfterSuite annotations to gain more control over your test execution process.

What's included

2 videos

2 videosβ€’Total 15 minutes
  • BeforeTest and AfterTest Annotationsβ€’10 minutes
  • BeforeSuite and AfterSuite Annotationsβ€’5 minutes

In this module, we will focus on the Page Object Model and Page Factory design patterns. You will learn how to initialize page elements, manage WebElements, and implement these design patterns to create robust and maintainable test automation frameworks.

What's included

4 videos

4 videosβ€’Total 45 minutes
  • Page Factoryβ€’12 minutes
  • How to Add List <WebElement> in Page Factoryβ€’2 minutes
  • Initializing Page Factory Elementsβ€’11 minutes
  • Page Object Modelβ€’21 minutes

In this module, we will guide you through the process of designing an automation framework. You will learn how to create a base class, develop a page library, and build a flow library to streamline your test automation efforts.

What's included

3 videos1 assignment

3 videosβ€’Total 28 minutes
  • Creating Base Classβ€’9 minutes
  • Creating Page Libraryβ€’12 minutes
  • Creating Flow Libraryβ€’7 minutes
1 assignmentβ€’Total 15 minutes
  • Assessment 2β€’15 minutes

In this module, we will explore advanced concepts in TestNG. You will learn how to organize tests using groups, implement parameters for data-driven testing, manage test dependencies, and handle ignored tests within your test suite.

What's included

4 videos

4 videosβ€’Total 25 minutes
  • TestNG Groupsβ€’9 minutes
  • TestNG Parametersβ€’10 minutes
  • Managing Test Dependencies in TestNGβ€’4 minutes
  • Ignoring Tests in TestNGβ€’2 minutes

In this module, we will discuss how to run tests in parallel to improve efficiency. You will also learn how to generate and analyze TestNG HTML reports to gain insights into your test executions.

What's included

2 videos

2 videosβ€’Total 5 minutes
  • Parallel Execution in TestNGβ€’3 minutes
  • TestNG HTML Reportsβ€’2 minutes

In this module, we will focus on data-driven testing using TestNG. You will learn how to use data providers to run tests with multiple sets of data and wrap up the course with key takeaways and final remarks.

What's included

2 videos3 assignments

2 videosβ€’Total 16 minutes
  • Data Provider in TestNGβ€’11 minutes
  • Finishing Remarksβ€’5 minutes
3 assignmentsβ€’Total 90 minutes
  • Assessment 3β€’15 minutes
  • Full Course Assessmentβ€’60 minutes
  • Full Course Practice Assessmentβ€’15 minutes

Instructor

Packt
1,926 Coursesβ€’560,010 learners

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,