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

CAn anybody tell me how can I use QTP to capture any video in my application?I want to see the video file opened in my application after the tests are completed in tests results.Can anybody help me?

6 Answers  


actually how many hours per one day we will work on automation (qtp) in real time

1 Answers   Synechron,


how much space occupies in object respository by default?

5 Answers   VSoft,


An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

0 Answers  


Why use Regular Expressions?

1 Answers  






anyone can explain the following concepts. 1.diff b/w Linear and modular framework 2.diff b/w keyword and hybrid framework

1 Answers  


What are metrics and matrix?

0 Answers  


what kind of erros can be handled with the using QTP?

2 Answers   CTS, Satyam,


Thanks....But can u tell me how i use the QTP for GIS with one Example...

0 Answers  


What is Automation frame work.How we will prepare in real time.

9 Answers   AppLabs,


what is use of the object repository?

4 Answers  


hi gavasker i want how to merg OR's in QTP 8.2 by QTP Plus

1 Answers  


Categories