Developing Data-Driven Test Classes

This chapter focuses on designing and building data-driven test classes using the TestNG technologies, integrating a data provider into data-driven tests, and using setup/teardown, exception handling, and various other TestNG features. The following topics are covered:

  • Introduction
  • Annotating test class methods using TestNG
  • TestNG setup/teardown methods
  • Naming conventions for test methods
  • Using the TestNG DataProvider
  • Calling page object methods in test classes
  • Exception handling in test classes
  • Designing base setup classes
  • TestNG suite file structure
  • Suite parameters
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.19.56.114