More Macro Variables

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
Wooltown
Posts: 115
Joined: Wed May 22, 2002 6:00 pm
Location: Sweden

Post by Wooltown »

Hello !

I want to have
%WaitForMasterTests% and %OutOfScheduleTests%
in addition to the already existing
%GoodTests% and so on.

Sven
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I assume you are talking about HTML (Compact HTML, Custom HTML) reports?
Ok, there is update at http://www.ks-soft.net/download/hm358.zip

Regards
Alex
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

I can't use the %NotTestedTests% macro, is this true?
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

Is it possible to calculate the %GoodTests%, %BadTests%, etc macro, even when they are not (initially) used for the report.

In other worths: I use a report for Bad entries only, but still would like to use the %GoodTests%. %UnknownTests% if possible (now they always return 0). I know it sounds a bit strange, but it just looks nice in my html report if I can use these macros.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

>I can't use the %NotTestedTests% macro, is this true?

Yes, HostMonitor does not support variable like this. Test can have "Not tested" status in case HostMonitor just started, or test just created. Usually reports don't have any tests with this status.

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

>Is it possible to calculate the %GoodTests%, %BadTests%, etc macro, even when they are not (initially) used for the report.

No, its impossible. These variables represent number of tests within the report.
Probably we can add new variables like %Global_TotalTests%, %Global_GoodTests%, %Global_BadTests%, etc.

Regards
Alex
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

I won't use global counters, since it will make my interface non-consistant.

But someone else might........
Locked