Advanced TestNG Framework and Integration with Selenium

Offered By
Coursera Project Network
In this Guided Project, you will:

Executing TestNG test cases using TestNG xml file and controlling order of execution

Parameterizing and Grouping tests

Parallel execution of test cases and Data-Driven testing

Clock2 Hours
AdvancedAdvanced
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

TestNG stands for Test Next Generation is a testing framework that provides the developer the ability to write more flexible and powerful tests with help of easy annotations, grouping, sequencing & parametrizing. It can easily be integrated with automation tools like Selenium and is widely used by automation test experts to write functional tests. In this one-hour guided project through hands-on, practical exercises, you will learn advanced concepts like executing test cases using TestNG XML file, grouping test cases, and performing data-driven testing. In this project, you will learn - Executing TestNG test cases using TestNG XML file Order of execution of methods via TestNG annotations Executing test cases of multiple classes via TestNG XML file Executing test cases of all the classes of a package Grouping test cases and executing them via TestNG XML file Parameterizing test methods using @Paramters annotation Parallel execution of test cases on multiple browsers using TestNG Data-Driven testing using Data Provider

Skills you will develop

Functional TestingTestNGAutomated Testingselenium automationTest Automation

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Executing TestNG testcases using TestNG xml file

  2. Executing methods before and after a test run or a test suite

  3. Executing test cases of multiple classes via TestNG xml file

  4. Executing test cases of all the classes of a package

  5. Grouping test cases and executing them via TestNG xml file

  6. Parameterizing test methods using @Paramters annotation

  7. Parallel execution of test cases on multiple browsers using TestNG

  8. Data-Driven testing using @DataProvider

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.