Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to do excception handling ( error handling ) in QTP

Answers were Sorted based on User's Feedback



How to do excception handling ( error handling ) in QTP..

Answer / nanda

Generally we do the exception handling by using IF..Then
statement.

for example..

If Browser("XXXX").Window("Text:=XXXXX").Exist Then
Browser("XXXX").Window("Text:=XXXXX").Close
End If

Like this..

If any queries...

nanda.dreddy@gmail.com

Is This Answer Correct ?    9 Yes 2 No

How to do excception handling ( error handling ) in QTP..

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

How to do excception handling ( error handling ) in QTP..

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

How to do excception handling ( error handling ) in QTP..

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

How to do excception handling ( error handling ) in QTP..

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

How to do excception handling ( error handling ) in QTP..

Answer / raja

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 ?    3 Yes 8 No

Post New Answer

More QTP Interview Questions

Use of Multiple Actions in QTP?

3 Answers  


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

0 Answers  


Hi all, In Every interview interview asking one question what type of challenges you have been faced in your project?

1 Answers  


What is diff between SDLC AND STLC?

1 Answers   Nokia,


What is the entry criteria and exit criteria for your test automation

2 Answers   HP, Virtusa,


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?

0 Answers   Wipro,


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 .

0 Answers  


Wher to use DATA TABLE METHODS in Qtp?What is the use of it?

8 Answers   Wipro,


Actually what is Quality center..is it Test Director or some other tool..Anybody can expalain it in detail..Thanks in advance..

3 Answers   Sony,


What are the difference between QTP and Winrunner

5 Answers  


What is the maximum size of Object Repository in QTP 8.2?

4 Answers   Mphasis,


What are associated files in QTP?

2 Answers  


Categories