In the previous chapter, we learned how to write test suites with soft assertions and to execute these with Gradle tasks. In this chapter, we will learn how to work with test data that is stored in formats like Excel, XML, text, and so forth. The test data might be an app configuration file, data table with expected data for given inputs, or simply strings for localization testing (see Chapter 19). Let’s start by importing test data from Excel files.
9. Importing Test Data from Excel, XML, or Other Formats
Get Create an Enterprise-Level Test Automation Framework with Appium: Using Spring-Boot, Gradle, Junit, ALM Integration, and Custom Reports with TDD and BDD Support now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.