Diff. between keyword driven Data driven testing?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
WHAT IS THE FRAMEWORK & ARCHITECTURE OF YOUR PROJECT
WHAT IS THE SIZE OF OBJECT REPOSITORY USING IN YOUR COMPANY? Can any body tell me answer of this quation........
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
After creating testcases, how do you start testing in QTP? what methodology will follow?
7 Answers Actran, American Well,
what is the difference between wait and wait function
how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page
How many add-ins comes by default with qtp?
What is a runtime datatable ?
how can we merge the object repositories?is ther any option in qtp to merge the object repositories if we have two or three object repositories?
For which type of project the iterative model is suitable?
w is recovery senario manager