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 handle run time errors?

Answer Posted / barun choudhary

(a) On Error Resume Next : causes execution to continue with the statement immediately following the statement that caused the run-time error, or with the statement immediately following the most recent call out of the procedure containing the On Error Resume Next statement. This allows execution to continue despite a run-time error. You can then build the error-handling routine inline within the procedure.
Using "Err" object msgbox "Error no: " & " " & Err.Number & " " & Err.description & " " & Err.Source & Err.HelpContext

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

give me the code to save all messages of inbox of gmail into a folder and notepad

2091


Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........

2194


can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

6167


What is expert view in qtp?

1048


what function you write to do database testing with the help of qtp?

1807


How u will do versioning in QTP?

1877


How many add-ins comes by default with quicktest professional (qtp)?

979


what is test scheduleling?

2502


How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)

2457


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

3270


Is virtual object supported in low level recording mode?

1143


We stored into the objects OR and then write the scripting

2017


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3543


How may types of defects identify application or your currently working application?pls give me answer..

1997


To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

1899