What is the difference between Recover Scenario(screen) and
on Error Resume Next(code)

Answers were Sorted based on User's Feedback



What is the difference between Recover Scenario(screen) and on Error Resume Next(code)..

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

What is the difference between Recover Scenario(screen) and on Error Resume Next(code)..

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

What is the difference between Recover Scenario(screen) and on Error Resume Next(code)..

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

What is the difference between Recover Scenario(screen) and on Error Resume Next(code)..

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

Post New Answer

More QTP Interview Questions

what is the frame work in J-meter?

0 Answers  


hi i want write code for "test engineer" in this i want write reverse how ca plz let me know through script

4 Answers  


How to do the Mouse Operations in QTP. How to aacess an Image in a web application to save it on my desktop. To my Knwoledge that can be done by mouse right click on the Image and selecting 'Save the Image'option. Or Is there any alternate way to do this..

1 Answers  


Hi Can u plz suggest who is the Best Faculty for Advanced QTP Scripting in Hyderabad ,plz suggest me..... or send me a replay to satheesh.goli@gmail.com, r make me a call 9866335752

1 Answers   AppLabs,


How u do the back end testing in QTP?

2 Answers   HP, SunGard, TCS,






Thanks....But can u tell me how i use the QTP for GIS with one Example...

0 Answers  


what is the smart identification techniqu?what r the different mechanisums used in it?

2 Answers   Accenture,


Hi, I have weblist which contains the data like Design change,admin edit and cost saving etc.. User doesn't know the values existed in weblist. Now the user has to select the right value from the list otherwise the test will fail. Pls help me "To select the correct value from the list"

1 Answers  


What is the limitation to XML Checkpoints?

1 Answers  


Can we record using all the modes in a single script? Explanation with example is appreciated

0 Answers  


QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue

1 Answers  


What are the methods of the TextStream object that are used for reading from a text file?

0 Answers  


Categories