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 / thirumalareddy

there are two types of run-time errors
expected (if we know in which line of script it is occuring)
and unexpected (if we do not know the occuring place)

for expected run-time errors we will handle using VB script
like on error resume next method

for unexpected errors we will go for recovery scenario

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What contains Data Driven Framework document in qtp?

1994


how can we preform retesting(DATA driven test) using function please gine the code for loginpage

2908


How many types of recording modes are there?

1046


Hi, how can we check or avoid the memory leakage in QTP9.2?

2094


I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }

2283


What is system testing and what are the different types of tests you perform in system testing?

1161


what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana

1943


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

2199


What is throw object?

2382


What are the automation metrice in your project?

2285


what is ODC and GDC?

7883


what is the advantages and disadvantages of using functions instead of re usable actions

1965


Why qtp always start action1 and does not start action?

1107


Explain the difference between call to action and copy action?

992


HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?

2207