Author Topic: Chapter 12, Problem 12.1 - Status of Action as Pass/Fail  (Read 978 times)

Offline mick_h

  • Newbie
  • *
  • Posts: 1
Chapter 12, Problem 12.1 - Status of Action as Pass/Fail
« on: January 06, 2011, 04:31:40 AM »
Hi All,
I've been trying to find out how to use the status of an Action (Pass/Fail) to programmatically decide which Action to call next.  I thought that I had found it in the answer to this problem using a Recovery Scenario.  However I have since found in the QTP User Guide that failing a checkpoint does not result in a run error.

Does anyone know how to get the status of an Action while still running the test.  I know about Reporter.RunStatus, but that is the status of the whole test, and it is specific actions that I am looking at.

Thanks for your help,

Regards,
mick_h

Offline Tarun Lalwani

  • Administrator
  • Hero Member
  • *****
  • Posts: 3007
    • KnowledgeInbox
Re: Chapter 12, Problem 12.1 - Status of Action as Pass/Fail
« Reply #1 on: January 06, 2011, 06:35:06 AM »
Yes, thats true. Let me see if I can pull something out for you here
Regards,
Tarun
KnowledgeInbox Administrator

KnowledgeInbox" style="border:0