Hi all,
What is the difference between Keyword Driven and Data Driven testing?
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dharmendra GaurPosted Nov 18, 2010, 1:23 AM
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.