|
radek
|
 |
« on: February 27, 2008, 07:05:45 AM » |
|
Hi all,
QTP: 9.0
I am using descriptive programming and would like to use recovery scenario. Recovery should call my user-defined function. Everything works fine, on error the recovery function is called. But the code inside the function is not run and in the report I see the following:
Error: Element not found.
Function call is in the report described like this:
Call the function: RecoveryFunction1 defined in: C:\QT\Library_Recovery.vbs using the arguments: 1. The object of the current test step 2. The method of the current test step 3. The actual method's arguments 4. The actual method's result
When the error appears (and therefore recovery function is called) on an object, which is defined in repository (e.g. not using DP), recovery function is run properly.
So my question is - does recovery work only on objects defined in repository? If so, is there any other way to recover from an enexpected error when using DP?
Any help would be appreciated.
Radek
|