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 will you check how many members visited the website www.infosys.com?
HOw to add the recovery file at runtime to the test file .
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
What is a quick test professional?
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
Explain advantages and disadvantages of ddf?
What are the different types of checkpoints?
how will load the object during runtime?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
How to interact tool & application build in QTP?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
What is output value? How many types of output values are there in qtp?
Does QTP record on Objects created on XWindows Environment?
What is Unicode Compatibility?