Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check Recovery Status
#1
Solved: 11 Years, 4 Months, 4 Weeks ago
how to verify whether my recovery sceanario is triggered or not and
want to call some other function like:-
Code:
If RecoverySceanriotriggered=True then
Call UpdatetestStepStatus()
End if
Reply
#2
Solved: 11 Years, 4 Months, 4 Weeks ago
1. Either during setting of recovery scenario you can set recovery operation as desired Function Call. For that you have to define the desired function in your library.
Reply
#3
Solved: 11 Years, 4 Months, 4 Weeks ago
Yes it is possible. There is a object called Recovery which you can use to perform specific actions related to Recovery scenarios. For eg :

Recovery.Activate will activate the recovery scenario at that stage.
MyCurrentStatus=Recovery.Enabled -- Will check if the recovery scenario is enabled...
Can you build the logic now ?

PS : Information obtained from QTP help.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#4
Solved: 11 Years, 4 Months, 4 Weeks ago
Hi Basanth,

Thanks for your valuable suggestion.

During run time we can use Recovery object of the AOM. We can activate as well as make that enable during run time. But where the checking will happen?
Reply
#5
Solved: 11 Years, 4 Months, 4 Weeks ago
AOM is not the only way to do it. You can explicity activate it in your script based on the scenario name. when you activate it, use a counter to determine by a flag that the process is completed.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#6
Solved: 11 Years, 4 Months, 4 Weeks ago
Thanks Basanth.

I will try to implement the same.
Reply
#7
Solved: 11 Years, 4 Months, 4 Weeks ago
Thnks Basanth for the solution..
Reply
#8
Solved: 11 Years, 4 Months, 4 Weeks ago
Chanda -
You are most Welcome Smile
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send QTP status results to mobile Naresh 0 3,035 09-02-2014, 03:50 PM
Last Post: Naresh
  Know Checkpoint Status sudheerkumar 0 2,386 05-21-2014, 04:13 PM
Last Post: sudheerkumar
  In qtp how to manage status bar for portal(SAP WEB Application) kamal262007 0 2,680 03-08-2013, 12:58 PM
Last Post: kamal262007
  How to use recovery scenario, if error message appears at status bar kamal262007 5 4,823 10-04-2012, 10:58 AM
Last Post: Ankesh
  How to set Test case status? hamzaz 4 5,002 05-04-2012, 10:04 AM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 1 Guest(s)