Data-driven testing is a very important aspect of test automation. The goal is to run a given test or set of tests multiple times with different sets of input data and expected results.
With web2test’s highly flexible variables there is no limit on how this data can be used but the most common case is for event input values and expected check values.
web2test has various means to store data or load external data for use in data-driven tests. The most convenient is based on a Data driver node which sets up an environment for iterating over the sets of data combined with one or more Data binder nodes to bind the variables for test execution. Note that there is no Data binder node as such. The name serves as a generic term for the specific nodes like a Data table or a CSV data file.
web2test’s offers several kinds of Data binders:
- Data table
- Excel data file
- CSV data file
- Datebase
An extension API for plugging in arbitrary external data is also available.
Each column of the table represents one variable with its name specified in the column header. Each row is a set of
data, one value per variable. Thus the number of rows determines the number of iterations of the data-driven loop. To start entering you data you first need to add columns to the table to define the variables, then add rows to fill in the values.











