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 ?    19 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why qtp always start action1 and does not start action?

820


What are the ordinal identifiers in web page?

828


how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief

1809


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

2132


When should I use smart identification?

796


Is it possible to split an action? How?

832


Explain data driven framework?

741


Explain the difference between call to action and copy action?

705


What is the difference between call to existing action and copy of an action?

793


How you can find length of array in qtp?

753


What is RTM (require ment tracebulity marix) fromate?

1712


What are the key points to create a framework in QTP for oracle forms?

1999


What contains Data Driven Framework document in qtp?

1640


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

1705


How to customize qtp?

789