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 can we handle exceptional handling in qtp

Answer Posted / denis parker

Scripting related exceptions can be handled in two ways:
1. On Error Resume Next - To Suppress error and proceed the script execution

2. On Error GoTo 0 - To express (or prompt) the error and proceed or stop the script execution based on user selections in the error prompting message box.

Generic Application (outside the scripting)related exceptions can be handled in more ways (but listed here 3 ways):

1. Recovery Scenario
2. Conditional Statements
3. Using "Exist" method

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can i initiate the objects to find uniquely in OR

1946


Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach

2110


Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.

2356


1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.

2172


How do you perform Regreession Testing?

1997


How to test results for qtp ?

1311


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

2242


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

886


Describe function procedure in vbscript.

1181


What is an object repository?

1089


what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”

1995


what is the difference btn risks & Therads in the Test plan documentation?

2169


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

1801


what are all the fileds present in object repository?

2087


How can you identify the browser and its information using the qtp script?

1059