ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
1. how can you handle exceptions without using recovery
scenario?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 1. how can you handle exceptions without using recovery scenario?
Answer
# 1
by using on resume next
 
Is This Answer Correct ?    0 Yes 0 No
Vengi
 
  Re: 1. how can you handle exceptions without using recovery scenario?
Answer
# 2
by using "on error resume next" we can handle exceptions
 
Is This Answer Correct ?    0 Yes 0 No
Narender Reddy Alala
 
 
 
  Re: 1. how can you handle exceptions without using recovery scenario?
Answer
# 3
Hello buddy,

If the Error is predictable... You know that Test Script 
has an error, while running the script the error will come.

Here, you can use "On Error Resume Next"

On Error Resume Next
Err.Raise 6   ' Raise an overflow error.
MsgBox "Error # " & CStr(Err.Number) & " " & Err.Description
Err.Clear   ' Clear the error.

here 
e.g. 
On Error Resume Next
msbox "Hello"
Msgbox err.number&err.description

try this it will give one "Number and Description" output 
you submit in 1st code given by me instead of 6.

If Any Unpredictable Errors/Events occur You cannot guess 
where and when they will come. then you should go for the 
Recovery Scenario Manager.

Thanks & Regards
Baba.D contact kingring.d@gmail.com
 
Is This Answer Correct ?    0 Yes 0 No
Baba
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
what is the another name for blackbox testing?  6
Wht is Smart Identification Mechanisam in QTP..Actually when do we this Technology means during Recording or running ....how is technology works. Anybody can expalin this .....Thanks in advacne Siemens4
What is the difference between two actions? Wipro1
Can we directly automate test script according to requirements?  1
How many actions we can write in a test? TCS5
wht is the difference betn check point and output value? BirlaSoft4
what are the different types of framesworks in QTP?what is the keyword driven framework? Mindlance1
Whenever we use GETROPROPERTY function. NIIT6
What r the features of QTP9.2,other than QTP8.0 What r the extre features of QTP9.2.  1
wt is the difference between global and action excel database in qtp?for example one action is calling another action the second action is using action excell sheet?if it is using global sheet what makes the difference? Datamatics1
what is standalone database Wipro1
What is descriptive Programming in qtp.  4
Explain me in deatail about DATADRIVEN framework including scripts ?(realtimes plz)(Chandana) Wipro2
Did u use check points during ur work experience ? FedEx1
how to capture (or) checkpoint for chineese or any other language except english using QTP in a web page. ( my application have 24 language, how to check those lanugages using QTP? is it possible). Please let me know  2
I have a Webedit object. some text is entered in that object I want to know the font sixe of that text.How could I do this using QTP? This is a requirement for me. I am happy if any one help on this GE3
Which object repository we use in real time and can we merge 2 object repostiory and how? HCL6
How QTP recognizes Objects in AUT? Blue-Star3
what do u mean by test harnesses in qtp? Verizon1
How to create a Runtime property for an object in QTP?  4
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com