Packt
Automation Framework Design Using TestNG
Packt

Automation Framework Design Using TestNG

Included with Coursera Plus

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

Recommended experience

5 hours to complete
3 weeks at 1 hour a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

5 hours to complete
3 weeks at 1 hour a week
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

Recently updated!

September 2024

Assessments

4 assignments

Taught in English

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

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 9 modules in this course

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

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

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

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

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

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

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

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

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 videos2 assignments

Instructor

Packt - Course Instructors
Packt
375 Courses25,243 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 10,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