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

is it possible to add sheets to excel at runtime

3234


What is the short cut keys for the following?

646


How is test case write?

576


How is the Bitmap checkpoint different from Image checkpoint?

623


What is qtp window?

566






Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

1946


What is qtpro? What is a quick test professional?

585


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

1578


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

1359


Is any limitation to xml checkpoints?

559


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

1444


How many types of recording modes in the qtp?

593


i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet

1759


how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

1673


How to find the length of the string in qtp?

578