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

What is test object?

885


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

825


Does quicktest professional is unicode compatible?

684


What are the advantages of Object Repository?

797


How will you check that your test cases covered all the requirements?

759


How we can import data from database?

877


How do we handle run-time errors?

769


give me the code to save all messages of inbox of gmail into a folder and notepad

1809


When to use descriptive programming?

785


What is the purpose of loading qtp add-ins?

816


What is the Difference between copy to action and call to action?

795


What is the use of sendkeys and what are send keys

2172


What are the types of properties that quick test learns while recording?

751


Your roles and responsibilities and daily tasks? (As automation tester)

2789


Shall we add Local Repository to shared object repository,if yes,how we add

6545