Data correlation rules

You can customize how data is correlated by using data correlation rules.

Rules that create elements

Create a built in data source
Inserts a built-in data source in the test.
Create a custom code
Inserts a custom code element in the test.
Create a dataset column
Creates a dataset column that can be used by substitution sites.
Create a reference
Creates a reference in data that matches a specified regular expression.
Create a substitution
Creates a substitution site in data that matches a specified regular expression.
Create a variable assignment
Inserts a variable assignment in the test.
Create a variable declaration
Creates a variable that can be used by substitution sites.

Rules that change elements

Encode a substitution
Specifies whether substitution fields are encoded or decoded.
Rename a data source site
Changes the name of a data source that matches a regular expression.
Rename a substitution site
Changes the name of a substitution site that matches a regular expression.
Replace reference regular expression
Changes the regular expressions that are used by references.
Unlink a substitution
Removes the links between substitution sites and references and other data sources.

Rules that find elements

Find a reference
Returns a reference. Add child conditions to specify the reference to find.
Find a substitution
Returns a substitution site. Add child conditions to specify the substitution site to find.
Find a variable
Returns a variable. Add child conditions to specify the variable to find.

Rules that remove elements

Remove a built in data source
Deletes data sources from the test. Add child conditions to specify the data sources to delete. If you do not add child conditions, this rule deletes all data sources in the test.
Remove a custom code
Deletes custom code elements from the test. Add child conditions to specify the custom code elements to delete. If you do not add child conditions, this rule deletes all custom code elements in the test.
Remove a reference
Deletes references from the test. Add child conditions to specify the references to delete. If you do not add child conditions, this rule deletes all references in the test.
Remove a substitution
Deletes substitution sites from the test. Add child conditions to specify the substitution sites to delete. If you do not add child conditions, this rule deletes all substitution sites in the test.
Remove a variable assignment
Deletes variable assignments from the test. Add child conditions to specify the variable assignments to delete. If you do not add child conditions, this rule deletes all variable assignments in the test.
Remove a variable declaration
Deletes variables from the test. Add child conditions to specify the variables to delete. If you do not add child conditions, this rule deletes all variables in the test.