QTP Multiple Choice Questions Set 20 - Regular Expressions

1)  Regular expressions enable QuickTest to identify objects and text strings with
undependable values.
A) True
B) False

2) You can use regular expressions only for values of type string and number.
A) True
B) False

3) If you expect the value of a property to change in an unpredictable way during
each run session, you can use regular expressions
A) True
B) False

4) All ........ are automatically treated as regular expressions.
A) programmatic description
B) Window
C) WinObject
D) Collection

5) If a backslash character is used before a character that has no special meaning,
the backslash is ignored.
A) True
B) False

6) You can use regular expressions in the Find what and Replace with strings to
enhance your search.
A) True
B) False

7) Regular Expressions can also be used with XML checkpoints.
A) True
B) False

8) What is the Regular Expression Matching Zero or More Specific Characters
A) x
B) #
C) *
D) &


1) A, 2) B, 3) B, 4) A, 5) A, 6) A, 7) A, 8) c

No comments: