How to use Regular Expressions in QTP

Answer Posted / jay prakash

Use Regular Expression (RE) in QTP to search for a specific
string format within the AUT. QTP recognizes all those
values that meet the search criteria specified in the RE.

A RE is a string of spl charcters that defines the
condition of a search. For examle in Flight reservation
application a diff order number is generated every time you
run the test. To accomodate these changing order number u
can use check point with RE so that QTP can recognize the
generated order number.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is different command used in command Prompt while using QTP?

1738


What is the difference between a Function and Action in QTP?

581


What is the use of Debug Viewer?

1479


Explain the features of quick test pro(qtp)?

566


Explain the concept of how quicktest professional (qtp) identifies object?

571






What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

1397


Explain the check points in quicktest professional (qtp)?

552


Which functionalities of QTP used in banking project? pls any say answer?

1435


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

1534


i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

1410


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

2194


How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

1711


What are the different recording modes and how do they work?

609


What are the technics follow in writing VB script?

1524


How to get Traceability matrix from TD?

663