How to handle Run-time errors?
Answer / ramyab.mca@gmail.com
Hai....
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
K,Byeeee.....
Thanks & Regards
B.Ramyasri
| Is This Answer Correct ? | 2 Yes | 1 No |
As u told write Libarary files in QTP. Do u use ever oject repositary 0r spy while writing scripts and for which type of testing u prepared test scripts.
can any body tell me all of the release dates of QTP?????..... thanks in adv!
what is On Error Resume Next ?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
How does quicktest professional (qtp) identifies the object in the application?
When Recovery scenario actually starts while testing the application?
What is a Dictionary object in QTP.?
what is check point?
How Does Run time data (Parameterization) is handled in QTP?
What is runtime objects and test objects? What is the difference between them?
how to disable the pop ups through QTP using a script
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva