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

What are the recording modes and executing modes avialble in QTP?

3 Answers   Polaris,


how to find that tools work well with ur existing system?

0 Answers  


how do u plan test automation?

0 Answers  


how to evalute defects in QTP script?

0 Answers  


I dont know how to configure non standard objects to standard objects in QTP9.2 can i have someone explain me in breify?

3 Answers   TCS, Wipro,






What is recovery scenario manager? When you go for recovery scenario manager?

0 Answers  


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

0 Answers   Excel,


How to export data present in Datatable to an ".xls" file?

3 Answers  


How many ways is to parameterize the value?

0 Answers  


Suggest and Define a solution for an application whose objects are not recognized by UFT?

0 Answers  


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

0 Answers  


what is framework in QTP? any one give me answer

4 Answers   Wipro,


Categories