How to handle run time errors?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
Answer / m
On Error Resume Next method we use to handle the runtime error
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
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 |
How many add-ins comes by default with quicktest professional (qtp)?
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?
using descriptive programming how to close all opend browsers?
what is the difference between QTP 8.0 & 9.0?
how can we group that these test cases only should be automated and in which order you execute that test cases
Which MS Excel formulas are possible to use in the DataTable? I am searching a formula for searching a field in the datatable
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
How can we record an edit box in the Web application ?
suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
How to execute a winrunner script in quicktest professional (qtp)?