Friday, July 18, 2008

Data Driven Approach - Automation Frame work

It has been decided to follow a data driven approach for test automation of (Project/Platform Name) application. In a data driven approach, data is made independent of the test. Input data is provided from an external data source. MS Excel will be used as the external data input source. During test execution test data would be called inside the test from the external data sheets.
The following are the advantages of a data driven approach.
  1. Ease of data maintenance
  2. Iterate the same test with multiple set of test data
  3. Baseline test data for different type of tests.
The test data used by testing team during manual test case development would be used while automated test script development.
Example:
<> takes input data –Customer Number, Order Type Ordered Items etc. The data would be stored in the excel file named SCN-Supplies_Data.xls. The same would be called inside QTP during test execution.

No comments: