TestNG made easy for beginners (Detailed course)

All concepts of TestNG are covered in a detailed and step by step manner

Ratings: 0.00 / 5.00




Description

This course covers TestNG in-depth by covering all its concepts and topics, along with practical demonstration.

TestNG is explained from scratch and in a step by step manner.

TestNG is the backbone for building Selenium Test Automation Frameworks, hence it is required to learn in depth and detail.

This course ends your search for finding a course, which covers in and out about TestNG.

The following are the different TestNG topics which are covered in this course:


  1. What is TestNG

  2. Installing TestNG and using in Projects

  3. Auto-generating TestNG Classes with a Test Method in Eclipse IDE

  4. Using TestNG Testing Framework for Selenium Automation

  5. Using TestNG Testing Framework with Rest Assured Framework for Automating API Tests

  6. Using priority attribute

  7. Using testng xml file for batch execution

  8. Assertions in TestNG

  9. Hard Assertions versus Soft Assertions

  10. TestNG Annotations

  11. Parameters in TestNG

  12. Optional Parameters in TestNG

  13. Enable Disable Test Cases using enabled attribute in testng xml file

  14. Enable Disable Test Methods using enabled attribute and @Ignore annotation

  15. Enable Disable Test Methods at Classs level using @Ignore annotation

  16. Enable Disable Test Methods at Package level using @Ignore annotation

  17. Grouping Tests in TestNG using multiple testng xml files

  18. Grouping Tests in TestNG using groups attribute

  19. Meta Groups in TestNG

  20. Partial Groups in TestNG

  21. Sub Category Groups in TestNG and using regular expressions

  22. Test Dependency in TestNG using dependsOnMethods attribute

  23. alwaysRun attribute

  24. ignoreMissingDependencies attribute

  25. dependsOnGroups attribute

  26. Groups Depending on Groups using dependencies tag and depends-on attribute

  27. Executing Tests at Package Level

  28. TestNG Parameterization - Data Driven Testing, DataProvider annotation and dataProvider attribute

  29. Naming DataProvider method using name attribute

  30. Parameterizing Test method with Array parameter

  31. Separating DataProvider method into a separate Class using dataProviderClass attribute

  32. Multiple DataProvider methods

  33. Multiple DataProvider methods in multiple classes

  34. Why we have to use Object array to return data

  35. Different return types of DataProvider

  36. Jagged Arrays and DataProviders

  37. Partially passing the data from Data Provider method using indices attribute

  38. Reading Data from Excel files using POI API

  39. Reading Data from Excel files into DataProvider method using POI API

  40. Executing tests in parallel by specifying parallel attribute in DataProvider method

  41. Controlling parallel tests thread count invoked by DataProvider using data-provider-thread-count

  42. timeOut attribute

  43. expectedExceptions attribute

  44. Parallel Execution of Tests in TestNG using parallel and thread-count attributes

  45. parallel=tests in TestNG Parallel execution

  46. parallel=tests can only be mentioned at suite tag level and not at test tag level

  47. parallel=classes in TestNG Parallel Execution

  48. parallel=methods in TestNG Parallel Execution

  49. Multiple test tags, but only few test tags enabled for parallel execution

  50. parallel=none in TestNG Parallel Execution

  51. parallel=false in TestNG Parallel Execution

  52. parallel=tests but thread-count=1

  53. Can we provide thread-count as negative value for Parallel Execution

  54. More threads and less number of tests

  55. parallel=classes or parallel=methods specified at suite tag level

  56. Default thread-count when parallel attribute is only mentioned

  57. invocationCount attribute

  58. invocationTimeOut attribut

  59. threadPoolSize attribute

  60. What are Listeners

  61. List of different Listeners available in TestNG Library

  62. Using ITestListner Listener

  63. Implementing Listeners at Class Level @Listeners annotation

  64. Implementing Listeners at Suite Level in testng xml fil

  65. onStart() and onFinish() ITestListener methods

  66. Difference between listeners and annotations

  67. Using TestListnerAdapter class in place of ITestListener interface

  68. Taking screenshots for Failed Tests using Listeners

  69. Avoiding Screenshot Overriding

  70. Retrieving Test Tag name along with Test Name

  71. Taking screenshots for Failed Tests using Dependency Injection

  72. Default TestNG Reports and their real time usage

  73. Uninstalling TestNG from Eclipse ID

  74. TestNG verbose attribute - testng xml file TestNG Retry using IRetryAnalyzer and IAnnotationTransformer

  75. TestNG verbose attribute - testng xml file


What You Will Learn!

  • All the different topics of TestNG are covered in this course
  • All the Topics of TestNG are covered in a practical manner with examples
  • TestNG knowledge required for building TestNG Hybrid Automation Frameworks
  • TestNG is covered in a detailed, in-depth, easy and practical manner

Who Should Attend!

  • This course is for those who want to gain complete knowledge on TestNG for building Automation Frameworks