Building a JSON Data Provider

This chapter introduces users to the concept of encapsulating data for use in data-driven testing. It will teach users how to design and build a TestNG Data Provider class in the native JavaScript Object Notation (JSON) format. The following topics will be covered:

  • Introduction
  • TestNG Data Provider class
  • Extracting JSON data into Java objects
  • Filtering test data
  • JSON Data File formats
  • The JSONObject class
..................Content has been hidden....................

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