Thursday, 21 November 2013

How to use Regular Expression Evaluator in QTP 11

In QTP 11,  Regular Expression Evaluator is a new tool added by HP. This helps us test the regular expressions on sample input strings. This is very useful tool.

To open Regular Expression Evaluator, you have to click on tools menu. There you will find option for Regular Expression Evaluator. Click on it.

  1. Once Regular Expression Evaluator is open, you can enter the Regular Expression inside the first edit box circled in red
  2. In large text box, you can enter sample text string that you want to test.
  3. Then you can click on the highlight button.
If the match is found, that is colored in yellow. It also shows you total number of matches found at the bottom of the Regular Expression Evaluator window.

Once you are sure that Regular Expression you have designed is working correct, you can use that in Object repository or in descriptive programming.

You may also like below topics on regular expressions in QTP.
  1. Regular Expressions in OR in QTP.
  2. Regular Expressions in descriptive programming in QTP.
  3. Regular expression evaluator in QTP.
  4. Meta characters in regular expressions.
  5. Case insensitive regular expressions in QTP.
  6. Regexp object in QTP.
  7. Global Property in Regular Expressions

Please give your inputs, suggestions, feedback to Us about above QTP topic. We value your thoughts.

No comments:

Post a Comment

Please Leave your reply. We value your feedback and inputs

Best QTP Books

Everything About QTP

Hello Friends,
You can find QTP study material, Multiple choice questions (mcq), QTP question bank, QTP question papers, QTP notes, QTP questionnaire, scenario based QTP interview questions, QTP tutorial and QTP training on this site.

If you are a fresher or experienced QTP professional with (1/2/3/4) years of experience, this blog is just for you.