Search code examples
testingautomated-testsfunctional-testingdata-driven-tests

Difference Between Data Driven and Keyword Driven Testing?


I searched already to see differences between data and keyword driven testing on Google but I did not find an enough answer for me.


Solution

  • Keywords and data are tools used in automated test scripts. You use a keyword to represent an action. A sequence of keywords drive a script. So you can use the same set of keywords to build a variety of test scripts. You use data as inputs to your script actions. Each data set you have in the script, provides a test case. So the more data sets, the more test cases. The idea is that these tools help to quickly define numerous test cases and test scripts so that your test coverage is larger.

    I wouldn't get too caught up in trying to learn meaning of buzz words. Just use tools that help you test more and better.