O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

TestNG Complete Bootcamp For Beginners - Novice To Ninja

Video Description

A-Z guide for learning TestNG Framework (Next Generation) to speed up your automation goals

About This Video

  • Each lecture consist of a video screencast and code files
  • High focus on practice and asking questions
  • You will also learn best practices

In Detail

TestNG is one of the best testing frameworks available today. It helps the automation tester to focus on writing and implementing test cases, so that they can concentrate on testing the functionality of the application and the logistics of running, monitoring and reporting is managed by the TestNG Framework. This course includes a wide range of topics from TestNG Annotations, different kind of Assertions, running a Test Suite, running tests in a desired sequence, Grouping related tests, understanding Dependent Tests, Preserver order of execution, reading Parameters from xml file, DataProviders (run test methods for multiple data sets), TestNG Listeners, TestNG Reporters (Logging), TestNG HTML Reports. All materials including code files. We assume that students have no experience in testing frameworks and start every topic from scratch and basics. Examples are taken from REAL TIME to understand how different annotations can be utilized, that will give you idea of industry level framework and give you confidence.

Table of Contents

  1. Chapter 1 : Introduction
    1. Course Outcome 00:04:28
    2. Instructor Introduction 00:01:25
  2. Chapter 2 : Java Environment Setup
    1. Overview and Install Java 00:05:09
    2. Java Environment Setup - Mac 00:06:37
    3. Java Environment Setup - Windows 00:04:07
    4. Install Eclipse - Windows 00:05:16
    5. Eclipse Installation - Mac 00:04:35
  3. Chapter 3 : TestNG Setup
    1. Introduction 00:05:51
    2. TestNG Setup 00:09:00
    3. How To Add TestNG JavaDoc 00:06:29
  4. Chapter 4 : TestNG Annotations And Asserts
    1. First TestNG Class - Test Annotation 00:09:54
    2. TestNG Asserts 00:14:10
    3. TestNG Soft Asserts 00:08:17
    4. Method And Class Annotations 00:08:42
    5. Running A Test Suite 00:12:03
    6. BeforeSuite And AfterSuite Annotations 00:08:01
    7. BeforeTest And AfterTest Annotations 00:09:01
  5. Chapter 5 : TestNG Advanced Features
    1. Prioritizing Test Methods In A Desired Sequence 00:05:12
    2. How To Group Test Methods - Part 1 00:09:02
    3. How To Group Test Methods - Part 2 00:04:53
    4. Understanding Dependent Test Methods 00:10:50
    5. How To Disable And Timeout Test Methods 00:05:55
    6. How To Preserve Order Of Execution 00:06:50
  6. Chapter 6 : TestNG Parameters And Parallel
    1. How To Provide Parameters To Test Methods 00:12:27
    2. ow To Run Tests In Parallel 00:09:28
    3. DataProviders - Part 1 00:08:35
    4. DataProviders - Part 2 00:04:50
  7. Chapter 7 : TestNG Listeners
    1. ITestResult Interface 00:08:36
    2. IInvokedMethodListener 00:14:11
    3. ITestListener 00:16:21
    4. ISuiteListener 00:06:34
    5. TestNG Listeners - Code Refactoring 00:06:37
  8. Chapter 8 : TestNG Reporter Logs and HTML Reports
    1. TestNG Reporters And Logs 00:12:35
  9. Chapter 9 : Conclusion
    1. Parallel Execution in Selenium WebDriver Automation 00:00:52
    2. Parallel Test Execution - Selenium WebDriver Practical Example 00:11:20