As per my knowledge, Data Driven is recording in QTP and we may write some loop, or coditions in the same window/screen in QTP
When it comes to Keyword driven, we have the function libraries written and attached. these functions are called for the specific purpose frop QTP -> Excelsheet -> Function library
for example, if we have a text box in our application to insert some value from datatable
In QTP,
Create object for that textbox
Attach function libraries (in this we have the functionality to be performed for webedit object i.e text box)
Import script file(C:\\.............xls)
call keyword_driver from QTP screen
In Script File
Script file will have the textbox;fieldname(i.e Object name) and set:value or dt_datatable field name
This is what i am learning now, Please collect me if i am wrong
Thanks
Raju