You can undo any regular expression or numeric range. After you convert a value to a regular expression or numeric range, the shortcut menu then contains an Undo command, which you can use to return to the original value.
For information about the full syntax of the regular expressions, see the util.regex package in the API documentation. Click com.rational.test.util.regex. , and select
For more information, see the Test Object Map related topic.
For examples of regular expression syntax and use cases, see Regular Expression Examples related topic.
For information about the full syntax of the regular expressions, see the util.regex package in the API documentation.
For more information, see Verification Point Editor related topic.
Numeric ranges can be created from numbers and from strings in
the form of integers or floats. You can convert properties to a numeric range
in the test object map or in the Verification Point Editor and Verification
Point Comparator. You can use a numeric range from both a Properties verification
point and from all the types of Data verification points. The following section
explains how to convert to a regular expression from the different verification
point displays. Converting to a numeric range works the same way, except that
you use the Convert Value to Numeric Range menu
or button.
You can convert a value to a regular expression in every type
of verification point. For Properties, Data (List), and Data (Table), you
convert it from the Value field as described above
for a numeric range. (Right-click the value you want to change and click Convert Value to Regular Expression.)
For
a Data (Menu Hierarchy) verification point, double-click a menu item in the
data pane to open a small grid editor. Right-click the value in the grid that
you want to change and click Convert
Value to Regular Expression. You can then edit it as described.
Close the editing grid when you are finished.
For a Data (Tree Hierarchy)
verification point, double-click a tree node in the data pane to open a small
text editor. Click the Convert
Value to Regular Expression button on the toolbar. You can then
edit it in the text box. Close the editor when you are finished.
For
a Data (Text) verification point, click Convert
Value to Regular Expression on the toolbar in the data pane of
the Verification Point Editor. All the text in the data pane is converted.
You can then edit this text right in the data pane. This generally only works
well for small amounts of text. If you want a text property, you could create
a Properties verification point, and then convert the Text property value
to a regular expression.