background image
<< Test Cases - the Name field. Property set | Test Cases - How to edit a property set >>
Test Cases - How to create a property set by combining sets
<< Test Cases - the Name field. Property set | Test Cases - How to edit a property set >>
User's Guide
123
5 D
ESIGNING
AND
R
ECORDING
T
ESTCASES
Recording the verification stage
6
Repeat steps 4 and 5 for as many class-property pairs as you want to add.
Delete any class-property pairs you don't want to include by selecting
them and pressing Remove.
7
Once the list of classes and properties is correct, click OK.
The New Property Set dialog closes and the new property set is displayed
in the Property Sets list box.
8
Click Close to dismiss the Property Sets dialog.
Specifying a class-property pair There are several ways to specify class-
property pairs.
·
They can be specified as a full class name and a full property name. For
example, to specify the State property for the CheckBox class, you
would enter CheckBox in the Class field and State in the Property field.
·
You can use the * wildcard character for partial matches. The asterisk
matches zero or more characters. For example, specifying * as a class
name matches all classes. Specifying Text* as a class name matches all
classes that begin with the string "Text".
·
You can apply the rule of inheritance to property sets; that is, the
properties of a class are inherited by its child classes. For example,
specifying the Enabled property and the Control class as a pair means
that the Enabled property of all classes descended from Control are also
implicitly included in the property set.
How to create a
property set by
combining sets
You can only specify one property set at a time in the Verify Window dialog.
So if you find that you use several property sets frequently, you might want to
combine them into one set. The new property set represents the union of the
combined sets. All constituent sets remain intact.
Procedure To combine two property sets:
1
Select Options/Property Sets or the Define pushbutton on the Verify
Window dialog.
The Property Sets dialog opens, as shown on page 121.
2
Click the Combine pushbutton.
The Combine Property Sets dialog appears: