involves data pool concepts invariably used as data driven
testing in some tools.
supplying multiple data's to the same script to check a
desired action
you can generate multiple test scenarios using the same
test.
For example, suppose you wants to create an account in
yahoo for 100 or 1000 people. Like this cases we can put
all the user information a excel file and use a single
script.
You can create a data table by inserting values in a table
or by importing data from an external file.
The simplest explanation of DDT is this: data that is
external to your functional test scripts is loaded and used
to extend your test cases. One of the best examples is that
of a customer order form. If you wished to populate the
entry fields with multiple test cases without DDT, you
would either need to record multiple test scripts (one for
each different test case) or employ DDT. To use DDT in this
scenario, you might record a single script, entering values
into the various fields. Then, you could alter the script
to accept variables, entering those variables into the data
fields. Now you can call this script each time you want to
add an order record, passing in a new set of data each
time.
The simplest explanation of DDT is this: data that is
external to your functional test scripts is loaded and used
to extend your test cases. One of the best examples is that
of a customer order form. If you wished to populate the
entry fields with multiple test cases without DDT, you
would either need to record multiple test scripts (one for
each different test case) or employ DDT. To use DDT in this
scenario, you might record a single script, entering values
into the various fields. Then, you could alter the script
to accept variables, entering those variables into the data
fields. Now you can call this script each time you want to
add an order record, passing in a new set of data each
time.
The simplest explanation of DDT is this: data that is
external to your functional test scripts is loaded and used
to extend your test cases. One of the best examples is that
of a customer order form. If you wished to populate the
entry fields with multiple test cases without DDT, you
would either need to record multiple test scripts (one for
each different test case) or employ DDT. To use DDT in this
scenario, you might record a single script, entering values
into the various fields. Then, you could alter the script
to accept variables, entering those variables into the data
fields. Now you can call this script each time you want to
add an order record, passing in a new set of data each
time.
data driven testing is nothing but testing the single field
with multiple sets of data.
the main intension of this testing is to find the behaviour
of the application for different input values.
Instead of one input Conducting testing with multiple
inputs on the same module is called datadriven testing. We
get multiple inputs for testing is in four ways. Using
Keyboard, flat file, excel sheet and from frontend objects.
The use of this is to check whether our application is
working for multiple values or not.
IF any new pls, let me know.
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. Data-driven testing is the
establishment of several interacting test scripts together
with their related data results in a framework used for the
methodology. In this framework, variables are used for both
input values and output verification values: navigation
through the program, reading of the data sources, and
logging of test status and information are all coded in the
test script. Thus, the logic executed in the script is also
dependent on the data values.
Data Driven TEsting:- When you test your application , you
may want to check how it performs the same operations with
multiple sets of data.rn. And i got varius resource about
data driven testing at macrotesting www.macrotesting.com to
be very good source.
Regards,
Prem
1.Can we use multiple excel sheets in winrunner?
2.What is the templet of writing test cases?
3.Which bug tracking tool u r using in u'r company?
4.Can any one give me real time test case format?
My mail id id shobha.mar28@gmail.com
If u press a push button in an application the winrunner
generates tsl statement like button_press(..) i.e the class
name of the object and the event on that object but
Why if u click a static text in an application the
winrunner generates tsl statemen like win_mouse_click
rather than the statement with combination of classname and
event..??