Table of Contents

Search

  1. Preface
  2. Introduction to Data Validation Option
  3. New Features and Behavior Changes
  4. Repositories
  5. XML Data Source
  6. Tests for XML Data Sources
  7. Connections
  8. Expressions
  9. Table Pairs
  10. Tests for Table Pairs
  11. Single-Table Constraints
  12. Tests for Single-Table Constraints
  13. Examples of Tests from Spreadsheets
  14. SQL Views
  15. Lookup Views
  16. Join Views
  17. Aggregate Views
  18. Business Intelligence and Reporting Tools Reports
  19. Dashboards
  20. DVOCmd Command Line Program
  21. Troubleshooting
  22. Datatype Reference
  23. Reporting Views
  24. Metadata Import Syntax
  25. Jasper Reports
  26. Glossary

Data Validation Option User Guide

Data Validation Option User Guide

Spreadsheet Requirements for Table-Pair Tests

Spreadsheet Requirements for Table-Pair Tests

You can generate tests for a table pair based on the test definitions specified in a spreadsheet.
Consider the following requirements for the spreadsheet:
  • Define tests in the first worksheet of an Excel workbook. Data Validation Option reads the first worksheet and ignores other worksheets in an Excel workbook.
  • The Excel file must have a .xls or .xlsx file extension.
  • To define tests for multiple table pairs, define tests for each table pair in a separate Excel workbook.
  • You can only define one test per row.
  • You must specify a field name or a field expression for each table in each row of the spreadsheet. If you specify a field name and field expression for the same table in a row, Data Validation Option uses the expression.
  • If you select an operator that is not valid for a particular datatype and you try to import the tests from the spreadsheet, Data Validation Option displays an error.
  • The values in the spreadsheet are case sensitive.