Diff. between keyword driven Data driven testing?

Answers were Sorted based on User's Feedback



Diff. between keyword driven Data driven testing?..

Answer / raman verma

Data-driven testing is a methodology used in Test automation
where test scripts are executed and verified based on the
data values stored in one or more central data sources or
databases. These databases can range from datapools, ODBC
sources, csv files, Excel files, DAO objects, ADO objects, etc.

Keyword-driven testing or Table-driven testing is a Software
testing methodology as part of the Test automation
discipline that separates the programming work from the
actual Test script so that the test scripts can be developed
without knowledge of programming. As a result the test
scripts can be maintained with only minor updates, even when
the application or testing requires significant changes.

Is This Answer Correct ?    55 Yes 2 No

Diff. between keyword driven Data driven testing?..

Answer / konduru srilatha

The Data-Driven Testing Framework.:it is used i/p and o/p values for test are fetched from data files these data files can be excel files.

The Keyword-Driven or Table-Driven Testing Framework.:We need create a set keywords and data table

Is This Answer Correct ?    3 Yes 0 No

Diff. between keyword driven Data driven testing?..

Answer / satish javalekar

Data driven Testing :
Data driven scripts are those application-specific scripts
captured or manually coded in the automation tool’s
proprietary language and then modified to accommodate
variable data. Variables will be used for key application
input fields and program selections allowing the script to
drive the application with external data supplied by the
calling routine or the shell that invoked the test script.
Keyword driven testing:
These tests are developed as data tables using a keyword
vocabulary that is independent of the test automation tool
used to execute them. This keyword vocabulary should also be
suitable for manual testing.
The data table records contain the keywords that describe
the actions we want to perform. They also provide any
additional data needed as input to the application, and
where appropriate, the benchmark information we use to
verify the state of our components and the application in
general.
Hope this clarifies the difference.

Is This Answer Correct ?    5 Yes 5 No

Diff. between keyword driven Data driven testing?..

Answer / 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

Diff. between keyword driven Data driven testing?..

Answer / murthysharma

Keyword-driven testing is a
technique that separates much of the programming work from
the actual
test steps so that the test steps can be developed earlier
and can often be
maintained with only minor updates, even when the
application or testingUsing the keyword-driven approach,
test automation experts have full access to the underlying
test and object properties, via an integrated scripting and
debugging environment that is round-trip synchronized with
the Keyword View.
needs change significantly.

Is This Answer Correct ?    1 Yes 9 No

Diff. between keyword driven Data driven testing?..

Answer / sushmita

key board DDT is to read values from key board
TSL stmts
create_input_dialog("message");
using for loop
for(i=1;i<=5;i++)
{
x=create_input_dialog("enter order no");

Is This Answer Correct ?    2 Yes 12 No

Diff. between keyword driven Data driven testing?..

Answer / 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

Diff. between keyword driven Data driven testing?..

Answer / 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

More QTP Interview Questions

how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables

6 Answers   iton, TATA,


In how many ways we can add check points to an application using QTP.

2 Answers   Infogain,


When to use Descriptive programing?

2 Answers   Wipro,


Why VB scripts are used in QTP and TSL in Winrunner, is there any advantage of using VB Scripts

2 Answers  


How to load the object repository at run time?

9 Answers   TCS,






Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

0 Answers  


Hi, how can we check or avoid the memory leakage in QTP9.2?

0 Answers   Arctern,


How to find the name of the machine where you are running your automation scripts in qtp?

0 Answers  


I have 3 add buttons of same properties in my page but i want trigger one of them i required in my recovery scnario manager is qtp recognizes it to recovre d scnario if so how qtp recognizes it

3 Answers  


In an application you have a web table. You are provided with an external Excel sheet with the same structure as that of the web table. How will you retrieve all data from the web table and compare it with corresponding data available in the excel sheet, using QTP? How will you report the results in QTP?

1 Answers  


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

0 Answers   Wipro,


you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

0 Answers   Covansys,


Categories