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
How does qtp identify objects in the application?
How you can make an action as re-usable action?
explain keyword driven framework with banking domain?
What is data driver in qtp?
How to check which add-ins are associated with a test in qtp?
what is the difference between the modular framework and datadriven frame work
What are the features and benefits of quick test pro (qtp 8.0)?
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
If I change the property value at runtime is it effect is object repository?
How do you perform Regreession Testing?
What is QTP scenario.
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?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
Generic function to search for the unique link in webtable and click on it
How to use setroproperty?