07-24-2008, 10:57 PM
hello navitha,
take a scenario where we don't know what kind of exception will be thrown where...
if the QTP script is big enough then the script may contain too many call statements right (if i am not wrong in my understanding)...
also i tried this method but did n't do any action and it got stucked where the run error pop up window was thrown.
--->
i have followed the similar kind of procedure what vamshi has followed i.e created a recovery scenario which should be called on any error. on anykind of error,this function should be called and send a message saying process has been failed and should quit the test run itself.
when success,i am getting message but on failure nothing was happening and error will be thrown and error pop up window will be like that.
i found while adding a recovery scenario... i might have made mistake can anyone guide me in this ...
procedure i followed
recovery--> recovery scenario manager --> Trigger event = Test Run Error --> on any error --> function call -->
what should function library : and select function should contain .... ?
i am having function library as :\Technology\Quality Assurance\QTP \scripts\FunctionFailedScript.qfl
by using browse opetion... it's taking whole path and file name ..
and what should either function library or select function should contain??
on completion of these steps i am viweing the path as H:\Technology\Quality Assurance\QTP \FunctionFailedScript.qfl::FunctionFailedScript.qfl
please correct me how to add a function correctly
Thanks
Navya
take a scenario where we don't know what kind of exception will be thrown where...
if the QTP script is big enough then the script may contain too many call statements right (if i am not wrong in my understanding)...
also i tried this method but did n't do any action and it got stucked where the run error pop up window was thrown.
--->
i have followed the similar kind of procedure what vamshi has followed i.e created a recovery scenario which should be called on any error. on anykind of error,this function should be called and send a message saying process has been failed and should quit the test run itself.
when success,i am getting message but on failure nothing was happening and error will be thrown and error pop up window will be like that.
i found while adding a recovery scenario... i might have made mistake can anyone guide me in this ...
procedure i followed
recovery--> recovery scenario manager --> Trigger event = Test Run Error --> on any error --> function call -->
what should function library : and select function should contain .... ?
i am having function library as :\Technology\Quality Assurance\QTP \scripts\FunctionFailedScript.qfl
by using browse opetion... it's taking whole path and file name ..
and what should either function library or select function should contain??
on completion of these steps i am viweing the path as H:\Technology\Quality Assurance\QTP \FunctionFailedScript.qfl::FunctionFailedScript.qfl
please correct me how to add a function correctly
Thanks
Navya