Previous Topic: Protect a RulesetNext Topic: Name the Rule


Add Rule to a Ruleset

Rules define what the changes are within an application. As explained previously, a collection of rules is called a ruleset. There are two ways you can invoke a rule:

SCREEN RECOGNITION

Identifies a specific screen that this rule applies to. This type of rule applies changes only to a single specific screen (used when only one screen changes). You can have only one Screen Recognition criterion in a rule, but multiple rule actions can be defined for that single screen.

FIELD RECOGNITION

Specifies criteria that a screen must meet before the rule will be applied. This type of rule applies changes only to screens that meet the specified recognition criteria. Field recognition rules are useful when one panel occurs multiple times within a test stream. This type of rule allows you to specify a change once, and then CA Verify for CICS will apply the change to all screens that meet the field recognition criteria.

To add a rule to a ruleset, follow the procedure in the table shown next. All tasks are performed from the Add Rules—Rule Actions panel.

Task

Description

1

Specify a name for the rule

2

Give the rule a description (optional)

3

Identify when this rule should be applied (to a specific screen or to multiple screens based on field recognition criteria). A model screen can be designated at this time.

4

Specify the rule actions

This section explains how to name a rule and specify rule actions. How to locate and select a model screen is covered in the section Select and Use Model Screens.