How to handle run time errors?

Answers were Sorted based on User's Feedback



How to handle run time errors?..

Answer / sharath

By using Recovery Scenario manager or by using a simple
If (..............Exists) Then

Do action......

End If

Is This Answer Correct ?    4 Yes 0 No

How to handle run time errors?..

Answer / rambabu-hyd&banga

using exception handling we can handle the run time errors
they are three types in winrunner
1)tsl
2)object
3)pop-up

In qtp they are 4 types
1)pop-up window
2)object state
3)Test run error
4)application crash

Is This Answer Correct ?    2 Yes 0 No

How to handle run time errors?..

Answer / jyotsna

We can handle runtime errors by using Exception Handling
option in winrunner. In this we have 4 types of exceptions.
1. POPUP Exceptions
2. TSL Exceptions
3. Object Exceptions
4. Web Exceptions.

Correct me if i'm worng:)

Is This Answer Correct ?    0 Yes 0 No

How to handle run time errors?..

Answer / srinivasamurthy

1)Below are the trigger event Exceptions. we can hadle this
type of run time errors Using Recovery scenario.

pop-up windows,
Object state,
test run error
application crash

Is This Answer Correct ?    0 Yes 0 No

How to handle run time errors?..

Answer / ramesh kolla

Unexpected events, errors, and application crashes during a
test run can
disrupt your test and distort test results. This is a
problem particularly when
running tests unattended?the test is suspended until you
perform the
action needed to recover.

By using Recovery Scenario manager

Trigger Event
Recovery Operation
Post-Recovery Test Run Option

if this is wrong and letme know the correct ans

Is This Answer Correct ?    0 Yes 0 No

How to handle run time errors?..

Answer / m

On Error Resume Next method we use to handle the runtime error

Is This Answer Correct ?    0 Yes 0 No

How to handle run time errors?..

Answer / pdp

Using recovery scenarios
Or
On resume next

Is This Answer Correct ?    0 Yes 0 No

How to handle run time errors?..

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

How to handle run time errors?..

Answer / nishant kumar

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

More QTP Interview Questions

How to retrieve the property of an object in QTP?

5 Answers  


What is the difference between a Function and Action in QTP?

0 Answers   Wells Fargo,


Explain the difference between data driven testing and parameterization ?

0 Answers  


In Test Director bug rEPORTS, wHAT ARE THE CONTENTS(fIELDS)? iF yoU PREAPARE BUG REPORT IN eXCEL sHEET , hOW U SEND TO dEVELOPMENT TEAM THRW T.D?

1 Answers  


How can we upload pdf files in qtp?

1 Answers   Syntel, TCS,






Write a script to verify font style and color of a windows object using descriptive programming

0 Answers  


in how many ways we can write the user defined functions one way i know that i.e storing it in .vbs another way i does not know my friend said that .qtf or something but start with q letter can any buddy knows about this

3 Answers   DigiTech, Infotech,


can any one tel ,using simple string a[0]=I a[1]=N a[2]=D like that it go's . . out put i need INDIA help me it's really need full ..

3 Answers   Mind Tree,


what testplan contents and what test strategy contents,what is the diff b/w them

0 Answers  


Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

0 Answers  


What is Distributed testing? How does UFT support it?

0 Answers  


What is ‘object spy’ and what is the function of object spy in qtp?

0 Answers  


Categories