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
How to use parameterization in qtp?
What is use of object spy?
What are the trigger events in qtp?
What is the process of synchronizing qtp and aut?
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
What is the descriptive programming?
who QTP recognizes the object stored in object repository?
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers
Is it possible to split an action? How?
Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.