How to use Regular Expressions in QTP? give an example.
Answer Posted / uday
ex
if we take flight reservation table (coz its easy to
understand the concept)
just record the script like this
go to file open order give no 5
and go to fax order type any fax no click send
and stop recording
then go to qtp script just change the script (the order no
to 6 )
Window("Flight Reservation").Dialog("Open
Order").WinEdit("Edit").Set "6"
and run the script we get the error as qtp could not
identify the fax order no 5
then go to repository select fax order no change the value
to "fax order no. *"
run it u get it
Is This Answer Correct ? | 46 Yes | 8 No |
Post New Answer View All Answers
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
Explain the concept of object repository & how qtp recognizes objects?
how will load the object during runtime?
What is quicktest professional (qtp)?
How can i check items sorted or not in a weblist ? Give me the script for this...
What is the difference between rational rose and QTP?
How is a Step generator used in UFT?
How many types of object repository in qtp?
How can you give wait up to 10 seconds in qtp?
How to add synchronisation points in qtp?
With what extension you can save the list of tests in a file to run in test batch runner?
What is keyword driven framework?
What is the difference between a Function and Action in QTP?
What is Test Fusion Report in QTP?
Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?