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 |
How to Import the data from MS-Access in QTP?
Explain different type of event trigger option.
WHICH functionalities of QTP used in Banking project?
How you can make an action as re-usable action?
Explain types of descriptive programming?
QTP is identifying all windows application objects(i.e. winbutton,winconbobox,etc) as winobjects.How to handle this? Is there any way to add our own properties to identify objects?
I am using "QTP 9.0" in my system, need to install java add-ins to test the java based applications, please prvide information from where i can get those java add-ins for QTP 9.0
In QTP what is the difference between Step-in, Step-out, Step-over ?
Explain about Table and DB Checkpoints?
What is qtpro?
Can you import and export data from XLS and how?
I have the script like this: Browser("Login").Page ("Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. I got the value "DC3701737" in to a variable(Say x). Now if i want to pass the variable in to link object .. how? Browser("Login").Page("Application").Frame ("ScopeFrame").Link(x).Click Is it possible to pass any variable into a link object .. so, that the application will select that link automatically? If ur not able to understand, pls let me know.