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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me one scenario, the complex functionality you have automated in your project?

1972


Approach for Installation,comaptibility,system testing

2188


What is an optional step in qtp ?

1177


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

2275


Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)

1970


explain abt dyanamic changing object with example?

2324


Is it possible to call from one action to another action in qtp?

1018


How will you test a stapler?

1104


How to get the particular property value?

1048


How to get Traceability matrix from TD?

1211


What are the challenges you faced during you entire life automation ?

1512


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

1038


Explain quicktest professional testing process?

1018


Where to use Property Let, Property Get, Property Set in UFT

824


What is the difference between run time object and test object in QTP?

1048