Running a Data-Driven Test Case Using All Rows and Tables

Values are text strings, numbers, and booleans (true/false) that exist in your original test cases. One of the steps in creating a data-driven test case is to find these values and replace them with references to columns in your data source.

Silk Test Classic checks to make sure that each value you selected is appropriate for replacement by the column in your test case. Click Edit > Data Driven > Validate Replacements while you are in a .g.t file to turn off this validation. This means that the “Find” aspect of Find and Replace works as usual, but that the values you replace are not validated. By turning off this checking, you suppress the error messages that Silk Test Classic would have otherwise displayed. Any 4Test identifier or fragment of a string is considered an invalid value for replacement unless Validate Replacements is turned off.

If you are new to creating data-driven test cases, we recommend that you keep this validation turned on.

The goal of this exercise is for you to use the Data Driven Workflow to:
  • Create a data-driven test case.
  • Find and replace values in a test case with links to the data source.
  • Run the data-driven test case with all rows and tables from the data source.