Submitted by: deep022in
Keyword driventesting is new concept in qtp.
QTP has two views:
1.Keyword view
2. expert view
in keyword view one can see the object ,the operation performed on it and it's value
In keyword driven testing you use the recorded object to generate operations on it.
i mean you select a object and press f7 or right click the mouse and select insert step menu.that way you can generate code without having to generate it manually.
This is called keyword driven testing.Each object visible can be thaught of as keyword
DataDriven testing:
Datadrivent testing means testing the same functionality of application with different set of data to check whether it works on all kind of data.
For this case you parameterize a step in qtp,put alll the data values in datatable and run the script for number of iterations equal to number of rows in datatable.
Above answer was rated as good by the following members:
Ritik1008