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
I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
What are table and db checkpoints?
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
Name the different types of recording modes?
Can we create user defined functions in qtp?
What is Port testing. Whhen will you perform?
What are the differences between qtp and winrunner?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
What is the limitation to XML Checkpoints?
What are the two types of repositories available, explain them?
What is Distributed testing? How does UFT support it?
Define Environment Variable in UFT and its uses?
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that