new macro variable %FolderCurrent_DisabledTests%

Need new test, action, option? Post request here.
Post Reply
rc
Posts: 100
Joined: Mon Aug 01, 2005 7:51 am

new macro variable %FolderCurrent_DisabledTests%

Post by rc »

Hi Alex,

I need one new macro variable %FolderCurrent_DisabledTests% to make it possible to inform my admin once only all tests in one folder have status "OK"

Condition to start good action in alert profile:
('%SimpleStatus%'=='UP') and
(%Recurrences%==2) and
(%FolderCurrent_BadTests%==0) and
(%FolderCurrent_UnknownTests%==0) and
(%FolderCurrent_WarningTests%==0) and
(%FolderCurrent_AcknowledgedBad%==0) and
(%FolderCurrent_AcknowledgedUnknown%==0) and
(%FolderCurrent_AcknowledgedWarning%==0) and
(%FolderCurrent_DisabledTests%==0)


Regards,
Enrico
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You may use expression like the following:
('%SimpleStatus%'=='UP') and
(%Recurrences%==1) and
(%FolderCurrent_TotalTests%==%FolderCurrent_GoodTests%)

Its not good idea to use (%Recurrences%==2) in such expressions. You may receive many alerts when action assigned to many test items.
Post Reply