Hi all,
What is the difference between Keyword Driven and Data Driven testing?
Thanks
What is the difference between Keyword Driven and Data Driven testing?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Dharmendra GaurRank #1,723 · 881 reputationPosted Nov 17, 2010, 8:23 PM EST
Keyword driven testing:
Keyword view: in keyword view anyone can see the object, action performed on this object, its result and value.
Expert view: In expert view anyone can use the already recorded objects to generate actions on it. when anyone select any object and right click the mouse and select insert step menu item, then he can generate code without having to generate it manually. Each visible object can be thaught of as keyword.
Data Driven testing:
Data driven testing: means testing the same functionality of application with different different set of datasets to check whether it works on all kind of data or not. For this case anyone can parameterize a step in qtp, put all the data values from datasets in datatable and run the script for any number of iterations equal to any number of rows in datatable.