You can use following regular expression attributes in your loadrunner script to deal with dynamic left or right boundaries :-
- LB/DIG - This attribute interprets the # sign as a wildcard for single digit. eg:- "Error5##" matches for "Error500", "Error501" till "Error599".
- LB/ALNUM - This attribute interprets the ^ sign as a wildcard for single US-ASCII alphanumeric character.
- LB/ALNUMIC - This attribute interprets the ^ sign as a wildcard for single US-ASCII alphanumeric character, this regular expression is case insensitive. eg:- "Er^^r" matches for "Error", "ErRor", "ErrOr", "ErROr", "Er12r", Err1r" etc.
- LB/ALNUMLC - This attribute interprets the ^ sign as a wildcard for single US-ASCII alphanumeric character and lower case. In this case "Er^^r" will not match for "ErROr", "ErRor", "ErR1r" and others with an uppercase alphabet present.
- LB/ALNUMUC - This attribute interprets the ^ sign as a wildcard for single US-ASCII alphanumeric character and upper case.
No comments:
Post a Comment