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 |
How to extract the data in the below scenario and dump it in the excel? Link1 Link2 Link3 Link4 numberlink1 text text text numberlink2 text text text numberlink3 text text text numberlink4 text text text So, Here is my question? -- It is a matrix but is not a web table(QTP does not recognize it as a web table) -- Link1, link2 and link3 are links under which text is available -- numberlink1 to numberlink4 are again LINKS -- All the others displayed are text only I want to extract the data in the above scenario and dump it into an excel in the same scenario as it is displayed above. Kindly help.. Thank you
what is the structure for the data driven framework
In my QTP script I have a word in notepad that ends in a question mark, for example... "father?" As part of my script I want to delete the question mark. How do you delete a character in notepad?
how interviews will be on QTP?
What is VSS? Is it used in Automation(QTP) Or Manual? what is menus in VSS?
how do u prepare Test Environment ?
Pls let me know completely about descriptive programming, where it is used, pls explain with a real time example of its occurence and the program code written in qtp.
how can i pass parameters into function?
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,
where the check points are stored ?
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
difference between waitProperty & Checkproperty