dave,

i know how to do If/Then/Elses. what im looking for is if there is a
way to retieve the number of current-test fails while the test is
still running. programmatically.

this way if the total-fails for a test is 0, i can create a new pass
message for that test.


thanks,
sm

On Oct 20, 11:12 am, Dave Sorenson <[email protected]> wrote:
>  Dim iFailCount
>       If iFailCount = 0 Then
>        Reporter.ReportEvent micPass, "Final Check", "Test completed
> without any fails."
> else
> Reporter.ReportEvent micFail, "Final Check", "Test completed with
> errors'&FailCount
>   End If
>
> On Tue, Oct 20, 2009 at 11:10 AM, SpaceMarine 
> <[email protected]>wrote:
>
>
>
>
>
>
>
> > hello,
>
> > at the end of my test script id like to retrieve the number of "fails"
> > that may have been raised via the test's checkpoints or via my code's
> > 'Reporter.ReportEvent micFail' calls. then, if no fails were present
> > ill report a new micPass.
>
> > ex:
>
> >    Dim iFailCount
> >    'iFailCount = ???? 'i need this part.
>
> >    If iFailCount = 0 Then
> >        Reporter.ReportEvent micPass, "Final Check", "Test completed
> > without any fails."
> >    End If
>
> > ...how does one do this?
>
> > thanks,
> > sm
>
> --
> Dave Sorenson
> Owner
> DS Technical Solutions, LLC.http://dstechnicalsolutions.com
>
> Visit profile on Linked inhttp://www.linkedin.com/in/sorney- Hide quoted text 
> -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to