How to do excception handling ( error handling ) in QTP
Answers were Sorted based on User's Feedback
Answer / sdfs
In fact, we don't use recover scenarios much, we use them
very very rare.
We should write our own code to handle them.
Depends on the situation we should write
PopUPClose function etc.
Regards
Patil
Jai Ganesh Maharaj Ki...
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / qtp tester
Using Recovery Scenario method we can handle
unexpected /expected popups at run time.Always writing
<IF...Exist> condition code is not good.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / hariknows
Using recovery scenarios, we can capture the error pop up
windows , and handle the errors and procced to next step
during the recording session.
| Is This Answer Correct ? | 8 Yes | 6 No |
Answer / anu
In middle of the coding means where that error foud after
that we r using on error go to EXIT
| Is This Answer Correct ? | 2 Yes | 4 No |
Use of Multiple Actions in QTP?
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression
Hi all, In Every interview interview asking one question what type of challenges you have been faced in your project?
What is diff between SDLC AND STLC?
What is the entry criteria and exit criteria for your test automation
I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?
I encountered with very strange problem in qtp while writing the script i written the code window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit this code was working fine for about 10-15 times i executed the script but after some time qtp started giving the error with the same code the error is "Object doesnt support this method or function window(...).window(..)" then i modified the code with only window"regexpwndtitle:=Open").Exit in place of window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit now again its working fine i cannot understand what thing is creating the problem if same code executed successfully in starting for about 10 times then why it is giving the error now can anyone give the reason .
Wher to use DATA TABLE METHODS in Qtp?What is the use of it?
Actually what is Quality center..is it Test Director or some other tool..Anybody can expalain it in detail..Thanks in advance..
What are the difference between QTP and Winrunner
What is the maximum size of Object Repository in QTP 8.2?
What are associated files in QTP?