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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to merge two object repository files in qtp?

813


How to import a test case present in ".xls" file to TD under a Test set?

970


How will you report the bug and explain the defect tracking sheet you handled?

2781


What are the features supported by UFT?

836


How can you send user defined messages to test report?

778


after initiating one project for testing, when exacltly QTP tester role starts?

1647


What are the different types of recording modes?

722


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?

1650


What are the automation metrice in your project?

1924


how to find that tools work well with your existing system?

1613


what is the hierarchy to use properties in descriptive programming

1719


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u

1541


how to convert 100 into hundred repees only and viceversa

1674


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?

1649


What are the different recording modes and how do they work?

817