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 to do the batch testing in test director using manual testing procedure?
Can you brief the hurdles you faced during Automation testing?
How do we analyze the checkpoint results?
What is CMMP and CMMH?
How many types of recording modes in the qtp?
Have you used xml check point in your project? How?
give me an example where u used good judgement and logic in solving a problem
HOw to add the recovery file at runtime to the test file .
What is qtpro?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
When and why to use descriptive programming?
Difference between test object and run time object?
How will you test a keyboard?
How qtp recognizes the object?