Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check Recovery Status
#1
Solved: 10 Years, 9 Months, 2 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: 10 Years, 9 Months, 2 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: 10 Years, 9 Months, 2 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: 10 Years, 9 Months, 2 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: 10 Years, 9 Months, 2 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: 10 Years, 9 Months, 2 Weeks ago
Thanks Basanth.

I will try to implement the same.
Reply
#7
Solved: 10 Years, 9 Months, 2 Weeks ago
Thnks Basanth for the solution..
Reply
#8
Solved: 10 Years, 9 Months, 2 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 2,946 09-02-2014, 03:50 PM
Last Post: Naresh
  Know Checkpoint Status sudheerkumar 0 2,248 05-21-2014, 04:13 PM
Last Post: sudheerkumar
  In qtp how to manage status bar for portal(SAP WEB Application) kamal262007 0 2,515 03-08-2013, 12:58 PM
Last Post: kamal262007
  How to use recovery scenario, if error message appears at status bar kamal262007 5 4,347 10-04-2012, 10:58 AM
Last Post: Ankesh
  How to set Test case status? hamzaz 4 4,741 05-04-2012, 10:04 AM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 1 Guest(s)