Diff. between keyword driven Data driven testing?

Answer Posted / nath .t

Keyword Driven Testing: In this testing tester interaction
is there at time of testing. we can give the values with
help of

Syntax:- Variable = inputbox("String")
Ex:- a = inputbox("Enter the value for A ")

In the above example a is the variable it's stores
the value at the runtime. and u can use this variable as a
parameter of any object at runtime.

Data Driven Testing: In this testing there is no
interaction of tester. here we can use datasheets or
frontend grids as parameters to the application.
We can get values from data sheets

Syntax:- variable = datatable("column name","sheet
name")
Ex:- empno = datatable
("employee_no","dtGlobalSheet")

In above example
Empno is variable
Employee_no is column name
dtGlobalSheet is Sheet name

we can use these variable in our application as a
parameter.

Is This Answer Correct ?    3 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which environments does qtp support?

671


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

562


Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,

1376


There is an excel file of 1 to 100 sheets how you will iterate through it?

526


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

1515






How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

694


what is Property......End Property loop? how to write sript for it in QTP

1889


What are the different types of recording modes in qtp? Which will be used when?

561


What is Unicode Compatibility?

1447


How to do call a output parameter from one action to another action??/

1870


What is the syntax for how to call one script from another?

555


what is actually contain test report? can anybody post the test report

1470


What is the use of running the scripts in Hidden-mode in UFT?

680


Get the count of files of similar types from a folder.

969


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

1565