When do we use the recovery scenario manager in the QTP, what is a function call and can any one tell me the vb script that has to be written?
[B]Question asked by visitor basava[/b]
Printable View
When do we use the recovery scenario manager in the QTP, what is a function call and can any one tell me the vb script that has to be written?
[B]Question asked by visitor basava[/b]
recovery scenario manager is used whenever pop up window comes while executing application.But here we have 4 options in QTP where we can use Recovery scenario manager.
"Pop up" window as i mentioned,
"Object state" when object is not recognisable in application(to enable parent object)
"test run error" when a single step is not running successfully.
"Application crash"
A function is written whenever we have to return a value else go for subroutine in QTP.
Function call Syntax:
a=function name(parameter 1, parameter 2...)
but before that ensure that the function exists as .vbs.
Go to options ,folders tab try to give path there.
Also don't forget to associate it to the test for which you want it to be invoked. :)