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 Test case selection criteria for Automation?

2 Answers  


Hai anyone please "Explain about Framework in QTP?"

0 Answers  


WHAT ARE THE SHORTCUT KEYS IN QTP?

4 Answers   TCS,


Hi every body, I am new to QTP.pls help me if anybody knows the solution. Here is my doubt: I have 3 excel sheets in my local drive out of which one is password protected and i want to get the data of all these xL's either by importing or by reading the data finally i have to update this data in the website.(and the site is secured site) I tried by importing all XL"s one by one but couldn't do so. plss send me the code or atleast suggest me the approach. Thanks in Advance Padmaja

3 Answers   Symphony,


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

0 Answers   Virtusa,


IF we use batch testing.the result shown for last action only.in that how can i get result for every action.

2 Answers  


1 Folders in VSS 2 In navigation script there are 100 script i want to run first 50 and 37th script also not needed to run how to do this 3 What is navigation script,Driver script, business script what we are loaded in this script 4 use of resource tab 5 Difference between verification and validation give real scenario example 6 file scripting object when to use it 7 what are the problems you are faced while testing web application 8 difference between expert view and keyword view 9 difference between QTP 8.2 and QTP 9.2 navigation frame work please answer these questions from real time working people as early as possible

0 Answers  


how to get the particular chr in an array list the question is ....i have an array like this ABCD EBCF GBCH IBCJ HERE I NET TO GET ONLY "BC" FROM ALL HOW TO GET IT HELP ME ANY ONE THANKS

6 Answers   Cap Gemini,


Can i run the qtp, without OBJECT REPOSTIRY...

8 Answers  


How can you handle exceptions in qtp?

0 Answers  


any body want to learn qtp with real time concept on Banking domain contact ciraaj@gmail.com

1 Answers  


Is it possible to change the property value at runtime? How it is possible?

0 Answers  


Categories