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 do i relate the checkbox properties with webelement when checkbox properties are changing on every login to the application
Difference between object identification and smart identification
How many types of Automation frameworks are there in UFT? Describe them.
How many types of trigger events are there in qtp?
Is it possible to run QTP scripts created in IE 6.0 in IE 7.0?
anyone can explain the following concepts. 1.diff b/w Linear and modular framework 2.diff b/w keyword and hybrid framework
Hello, How can i capture first letter of any string using QTP. For ex.. i want "j" in the below string "john" could any one explain me? Is there any function for that?
Browser("Las Vegas Hotels - Las").Page("Vegas Hotels - Hotels").Link("Luxor") ......here Luxor is a hotel and this is recognised as a link. I have many hotels like Luxor, Palms etc which are all displayed as link...How do I parametrize this by using webtable functions??? ASAP
Why qtp always start action1 and does not start action?
Can anyone please explain me the process of automating an application using QTP as i am new to this?
I am using DataTable.ImportSheet method to import the data from an excel sheet to the Runtime DataTable of QTP. here is my piece of code DataTable.import("c:\DataSheet.xls","Members","Members") The first row headings of Members sheet of DataSheet.xls and Members sheet of QTp are matched. but the QTP is taking very long time(approximately half an hour) to import the data into runtime datatable even though the DataSheet.xls has one or two rows in it. Please let me know why this is happening and is there any alternative for impoting the data into runtime datatable of qtp ?
What is iteration?