What is the difference between Recover Scenario(screen) and
on Error Resume Next(code)
Answers were Sorted based on User's Feedback
Answer / sagar kumar sutar
Recovery scenario manager is used to handle the run time
error and it is able to handle the pop-up window, Object
state, Application crash and test run error.
Where as, On Error Resume Next will handle the particular
code snippet where exactly the error occurs. And it skips
the line and it will take to other code and it is used only
when there is thousand lines of code available and i don't
want to stop my test run for a minor error.
Thanks in advance if i m wrong correct me.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / chandrashaker rao suguru
Recover Scenario: it deals with interfaces to do not
interupppt the test execution by the above reasons.
Error Resume Next: it deals with the source code only to do
not interupppt the test execution.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / hina
Recovery scenarios are used when you cannot predict at what step the error is going to occur. for eg- application crash.you can provide post action wherein if application crash occurs some specific action can be performed On error resume next is used where you are quite sure about the error. If that particular error occurs it will skip that line of code and move to next line.It is used when you dont want your execution to halt for a minor error.The type and number of error can be described using err number and err description.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / viji
Recovery scenario manager has handling three kind of errors
i) POP-UP, ii) RUNTIME and iii) OBJECT STATE.
whenever you run the script it may detect some exceptions
like pop up , runtime and object state you can you Recovery
scenarion manager and resolve those three kind of
exceptions.
I do not have idea about Error Resume, am new to
QTP.
| Is This Answer Correct ? | 0 Yes | 2 No |
What is iteration? How it is related to Test Results in QTP
3 Answers Virinchi Technologies,
How comfortable are you in VB scripting?
any one can explain about QTP proocess,means where to start and how to start Scripting.
What is the use of environment variables?
how can you write a script without using GUI in QTP?
What is the difference between systemUtil and invoke method..?
I want to run my qtp scipt on the system where qtp is not installed .I don't want to install qtp but i want that system should use the qtp from another system in lan just the qtp instance should be launched on that system without having qtp installed on it .I probably know the solution that it will be solved through RMI but how to get this problem solved plz help i anyone know the answer
what is use of optionexplicit in variable declaration
X=10,Y=20 you need to swap the numbers without using a third variable?
Hi Samrat, Thank u very much, what u said it is right.
what is difference between normal mode and fast mode?
Explain about Standard output value, Text output value, database o/p value, Xml O/p value, Xm o/p Value