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 COUNT NUMBER OF ITEMS PRESENT IN WEB LIST

8 Answers  


what is selective recording ? and normal recording?

1 Answers   iSoft,


I register user defined function in one test, I tried to call that function into other test. But that function not works in other test please give the direction for that.

1 Answers  


how to open Excel sheet & write in it & save it?

1 Answers   InTech,


What is the Difference between copy to action and call to action?

0 Answers  






take one exmple and write on that discriptive programe in qtp?

1 Answers  


If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?

0 Answers  


How to use conditional loops in qtp ?

0 Answers  


How can i count "spaces" in any sentence or a string if suppose " It is a Testing question" Here we have 4 gaps(spaces) Is there any function to find out spaces between words

5 Answers   iGate, Livetek,


How to start recording using quicktest professional?

0 Answers  


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

0 Answers  


What is quicktest professional?

0 Answers  


Categories