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

Can we create test script with out Step Generator?

4 Answers  


How to write business scripts using object repository with different scenarios

0 Answers  


What is quicktest professional?

0 Answers  


I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

0 Answers   Wipro,


There is a name "AJAY" how do u count no.of. "A" in that name ?

4 Answers  






Write a QTP script to enter a keyword in to Google search engine?

0 Answers   Wells Fargo,


How to Test the mainframe application?

0 Answers   Unisys,


How to Import data from a ".xls" file to Data table during Runtime.

1 Answers   Crea,


Hi, Plz give best Definition of Software Testing? Why we need Software Testing? and plz send 2+yrs experience Interview qutions (Manual,Qtp).

10 Answers  


Hi..All I have installed QTP 10.0, and need to Automate SAP Application.....so i need to Install SAP Add-ins, anybady has SAP-Addins, Please help me, and thanks in advanced plese send it on my email id: sandipgami84@gmail.com Thanks, Sandip Gami +91-9714177088

1 Answers  


WHat is Object Identification and Object Spy?

2 Answers   IBM,


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

0 Answers   Intel, Satyam,


Categories