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

How to Parameterize Object repository in QTP?

6 Answers   Cognizant, IIBM,


How Exactly we can find out the INDEX No. of any object of an application when we test that application in QTP? Explain this by giving me the example of all LINKS of G-Mail (including home page, User-account page and all possible pages you ever seen in G Mail)?????? and if your answer is that as per appearance of objects(LINKS) in application we can find out the index number in application then tell me how you find out which object(LINK) having INDEX No. 1,2,3 and so on and how you say which object(LINK) is appeared first and which is last?

4 Answers   Infosys,


What is the use of an object spy tool in qtp?

0 Answers  


Does QTP support Linux Red Hat? Does QTP support Flash?

4 Answers  


if Object repository contain x and y properties. we do not know whether they are mandatory or assistive properties. While executing the script qtp will use both the properties or only sufficient properties to identify the object. It means it use OR (or) AND

8 Answers   ADP,






why text area checkpoints cannot used for web applications

0 Answers  


give me the code to save all messages of inbox of gmail into a folder and notepad

0 Answers   Infosys,


I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?

0 Answers  


Give one example of Standard checkpoint in qtp 10?

1 Answers  


How can the functions inside DLL be called from QTP? i mean How can i use those functions(Inside DLL) in QTP

1 Answers  


what is framework? which frame work u follow for writting script?

5 Answers   IBM,


What are the various types of Actions in UFT?

0 Answers  


Categories