- Regular expressions enable QuickTest to identify objects and text strings with varying values. You can use regular expressions when:
- Defining the property values of an object in dialog boxes or in programmatic descriptions
- Parameterizing a step and creating checkpoints with various values
- QuickTest treats all characters in a regular expression literally, except for the period (.), hyphen (-), asterisk (*), caret (^), brackets ([ ]), parentheses (()), dollar sign ($), vertical line (), plus sign (+), question mark (?), and backslash (\). When one of these special characters is preceded by a backslash (\), QuickTest treats it as a literal character.
Using the Backslash Character ( \ ) - Matching Any Single Character ( . )
- Matching Any Single Character in a List ( [xy] )
- Matching Any Single Character Not in a List ( [^xy] )
- Matching Any Single Character within a Range ( [x-y] )
- Matching Zero or More Specific Characters ( * )
- Matching One or More Specific Characters ( + )
Wednesday, July 16, 2008
Using Regular Expressions
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment