Excluding work class properties from flows and case type tests
Exclude properties in your work class from the test by modifying the pyDataCapturePropertyIgnores data transform.
Some properties, like .pyID, are not processed when a unit test case is run. These properties vary for every test run. The pxDataCapturePropertyIgnore data transform displays the properties that unit tests do not process.
- Open the data transform:
- In the navigation pane of Dev Studio, click
Work-
in the Search field. , and enter - Expand Data Model > Data Transform and then click pyDataCapturePropertyIgnores.
- In the navigation pane of Dev Studio, click
- Save the data transform to your Work- class and in your test ruleset.
- For each property that you want to exclude in the data transform, do the
following steps:
- On the Definition tab, click the Add icon.
- From the Action list, select Set.
- In the Target field, enter the property that you want to exclude.
- In the Source field, enter two double quotation
marks, separated by a space:
" "
.
- Save the data transform.
Previous topic Data that you can record for flows and case types Next topic Defining expected test results with assertions