Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

How to define properties to be ignored during flow test case execution

Updated on September 10, 2021


By using AutoTestPropsToIgnore model rules, you can specify in advance which property differences you want the system to ignore during test case playback. These model rules indicate which properties are to be ignored by default.

For example, every time you run a flow that creates a work object, the pyID property (the work object ID) is set to a new unique value. When the test case is recorded, the pyID value at the time of recording is saved. When you play back that test case, the assigned pyID value during the playback is different than the saved pyID value. Unless the pyID property is specified in an AutoTestPropsToIgnore model rule, the system reports it as a difference. You want to always ignore the difference in the work object ID because you know it will be different each time.

There are several standard AutoTestPropsToIgnore model rules in Process Commander. These model rules use inheritance to ignore properties. The standard ones are a starter set of properties that most users want ignored during test case playback. For example, the pyID property is specified in the standard Work-.AutoTestPropsToIgnore model rule.

Starting in V6.1 SP2, you can specify which differences to ignore across all test cases in the application from the following places:
  • Within the unit test suite run report, accessed from either the Dashboard or Reports gadgets in the Automated Unit Testing landing page. If a unit test suite run finds differences, they are displayed when you view the report, and you can make your selections of which differences to ignore right there.
  • Within the results window after running an individual test case.

Suggested Approach

To specify properties to ignore by default, in addition to the standard ones:

  1. In the Rules by Type explorer, select Technical > Model.
  2. Click the New button. The New dialog displays.
In V6.1, steps 1 and 2 are different. To specify additional default ignored properties in V6.1:
  1. In the Rule Explorer, right-click Model in the Technical category.
  2. Select New from the context menu. The New window opens.

The rest of the steps in this article apply to V6.1.

  1. Name the model AutoTestPropsToIgnore and then click Create.
  2. On the Definition tab, enter the properties that you want ignored by default during test case playback. Leave the value fields blank.
  3. Select the Call superclass model?check box.

    When this option is selected, the AutoTestPropsToIgnore model rule in the immediate parent class is applied before this one. This chaining of model rules provides the ability to apply any ignored properties specified in a higher class without having to re-specify them. The model in the highest class is applied first. The current model is applied last.

  1. Save the model rule.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us