Section I

Section II

Section III

Section IV

Section V

Section VI

Section VII

Section VIII

Section IX

Section X

Section XI

Section XII

Section XIII

TestNG

  1. Introduction
  2. Install TestNG
  3. TestNG vs Junit
  4. Advantages over Junit
  5. Annotations
  6. Group Tests
  7. Parameterizing Tests 
  8. Skipping Tests
  9. Listeners
    • IAnnotationTransformer
    • IAnnotationTransformer2
    • IConfigurable
    • IConfigurationListener
    • IExecutionListener
    • IHookable
    • IInvokedMethodListener
    • IInvokedMethodListener2
    • IMethodInterceptor
    • IReporter
    • ISuiteListener
    • ITestListener
  10. Re-Run only Failed Test Cases
  11. TestNG Report Sample
  12. Customized TestNG Report Sample
  13. Running TestNG suite from command line
  14. Factory Method
  15. Creating TestNG.xml programmatically