Software testing is increasingly getting complex and tough given the challenging business scenarios. Application Testers are under pressure to adopt proven test automation methods and techniques to improve the quality of testing outcomes. Amongst the many types of test automation frameworks practiced by the professionals, data-driven test automation stands out.
When the input and output values for the test are fetched from data files which are saved outside the testing script, which can be Excel files, CVS files, ADO objects, DAO objects or any ODBC source etc. you are adopting a data-driven automation framework for your testing. To sum it, the Test Scripts retain the test case logic, while the Test Data is disparate and present outside.
What’s the benefit of using data-driven testing framework?
- Re-use of Code, leading to increased efficiency and faster execution
- Test Data remains unaltered, in spite of changes in Test Scripts
- Possibility to test a variety of test scenarios by just varying the Test Data in external file.