How to use Regular Expressions in QTP



How to use Regular Expressions in QTP..

Answer / 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

More QTP Interview Questions

How can i find out any "text's" coordinates in excel sheet For example: I want to know the coordinates of "F" Column in the excell sheet While recording when i clicked on F column it is showing the coordinate values 385,9 but with out recording how can i find out them Suppose i want to clik on "H" column writing the script like this Window("Book1").WinObject("Book1").Click (...........) Here I Dont know what (x y )values should i enter Please any one can help me?

1 Answers   Livetek,


what is memory leakage?

15 Answers   ITC Infotech, Panamax, TIT,


How we can add objects to the object repository during the running?is it possible or not?explain

3 Answers  


What contains Data Driven Framework document in qtp?

0 Answers  


IN A WEB PAGE THERE IS TWO WEB BUTTON WITH SAME OBJECT PROPERTY AND VALUE, SO HOW I WILL IDENTIFIE OBJECTS INDIVISUALY.

3 Answers  






How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

0 Answers  


How will you declare a variable in qtp?

0 Answers  


GET WHETHER THE GIVE NUMBER VALID OR NOT IN BETWEEN THE GIVEN RANGE?IN VB SCRIPT(QTP)

2 Answers   CSC,


Hi All, I'm Akshaya here, could anybody please help me regarding how to import the excel sheet to run time datatable. But Pl. keep it in your knowledge is that excel sheet is opened. Thanks, Akshaya Madali 9823213538

4 Answers  


How to capture screen shots when an error occurs?

5 Answers   EDS,


w is output value

3 Answers   MBT,


How to database testing by manualy?in my db having 100 records when i am retriving the data from db it shows in frent end 30 records how to find bug using QTP?plz Exp realtimers (Chandana)

7 Answers   Wipro,


Categories