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 |
In Test Director bug rEPORTS, wHAT ARE THE CONTENTS(fIELDS)? iF yoU PREAPARE BUG REPORT IN eXCEL sHEET , hOW U SEND TO dEVELOPMENT TEAM THRW T.D?
Hi, this is venkatesh. Q: I have 10 files in a folder(say D:\). Out of which there are some .txt, .xls, .doc. I want to know how to get the count of each file using qtp? If U have any ans, plz write script for that...
How can I map test requirement to Test Set (multiple test cases)? Under test lab, I have multiple test cases. I would like to map 1 requirement to all test cases under that test set (in test lab)? Currently, I think QC only allow mapping 1 test requirement to 1 test case. Instead I would like to map 1 test requirement to multiple test cases under one test lab.
4 Answers CarrizalSoft Technologies, DST Global Solutions,
Explain in brief about the quicktest professional (qtp) automation object model?
Currently i have designed my script based on the test cases present in Quality Center. I want to run my script from quality center. Can anyone help me to get the code which will connect QTP with Quality Center and execute the test cases?
I want to know how to execute the descriptive programming in qtp for the webedit object which does not contain attached text property. but i have checked it with name and html id property. Even though it is not executing. it is giving error in object's physical description.
how to merge object repositories in qtp for n different applications
How can i initiate the objects to find uniquely in OR
Please let know the scripts for counting number of repeated letters in the word. Note repeated letter should not be count agian. Ex: If "Hello" is my word... l is coming twice.. it should count once and print... secong 'l' should not count again..
Step 3&4 are repeated until an the object in recognised uniquely.
What is difference b/w AOM,DOM,COM Have u ever is used ny of the models.If so why?
How can I pass values from one action to another in QTP ?