3
.
12
Working with test data
Subsections
3
.
12
.
1
Data types and entering data for Test Cases
3
.
12
.
2
Entering concrete values as data in Test Cases
3
.
12
.
3
Using references for data in Test Cases
3
.
12
.
4
Using the edit parameters dialog to add, edit and delete references
3
.
12
.
5
Using variables as data for Test Cases
3
.
12
.
5
.
1
Reading and using values (variables) from the AUT
3
.
12
.
5
.
2
Using environment variables in tests
3
.
12
.
5
.
3
Using the Jubula pre-defined test execution variables
3
.
12
.
6
Using functions as data for Test Cases
3
.
12
.
6
.
1
Syntax for functions
3
.
12
.
6
.
2
Pre-defined functions
3
.
12
.
6
.
3
Embedding functions in other functions
3
.
12
.
6
.
4
Useful examples for functions
3
.
12
.
6
.
5
Adding your own functions
3
.
12
.
7
Concatenating (combining) parameters
3
.
12
.
8
Viewing and changing data sources for Test Cases
3
.
12
.
8
.
1
Changing the data source for a Test Case
3
.
12
.
9
Using central data sets
3
.
12
.
9
.
1
Creating and editing central test data sets
3
.
12
.
9
.
2
Deleting central test data sets
3
.
12
.
9
.
3
Adding and modifying parameters for central test data sets
3
.
12
.
9
.
4
Entering data for central test data sets
3
.
12
.
9
.
5
Reusing central test data sets in Test Cases
3
.
12
.
9
.
6
Importing Excel files as central test data
3
.
12
.
10
Using an Excel file as an external data source
3
.
12
.
10
.
1
Configuring the Excel file
3
.
12
.
10
.
2
Using the =TODAY() function in Excel
3
.
12
.
11
Using the Data Sets View to enter data loops and to translate data
3
.
12
.
11
.
1
Data Sets View : adding multiple data sets to a Test Case
3
.
12
.
11
.
2
Data Sets View : translating test data
3
.
12
.
12
Special parameters: empty strings and the escape character
3
.
12
.
13
Overwriting data for Test Cases and Test Suites
Copyright BREDEX GmbH 2012. Made available under the Eclipse Public License v1.0.