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

Coursera

Automation Framework Design Using TestNG

Packt via Coursera

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

Syllabus

  • Getting Started with TestNG
    • 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.
  • Basic Annotations in TestNG
    • 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.
  • TestNG XML Files (Test Execution Management)
    • 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.
  • Advanced Annotations in TestNG
    • 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.
  • Page Object Model and Page Factory
    • 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.
  • Automation Framework Design
    • 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.
  • Advanced Concepts of TestNG
    • 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.
  • Running Test in Parallel
    • 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.
  • Data-Driven Testing
    • 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.

Taught by

Packt - Course Instructors

Reviews

Start your review of Automation Framework Design Using TestNG

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.