Hi, I'd like to setup a test to a specified folder (group of test), and report to an HTML an overview of the specific tests within that folder.
For example
Root/Web servers Test1, Test2, Test3
Root/Overview Test (test1, test2, test3) if any of them are bad or unknown this test would fail, and the report would show it in Red.
Let me know if I explain myseld right.
Regards, Pablo
To Test a group of tests
Alex, sorry for my lack of english language to explain my self.
Let me put it this way.
In the example test that comes with the Hosmonitor you have 3 Folders:
USA Branch, Asia and Europe. I would like to create a report that shows me just 3 Items (USA Branch, Asia and Europe) that would change the color of this items based on the status of the tests that are inside these folders. Then I would have an overview of the overall status of the whole system without the need to show specific tests.
Thanks a lot, Pablo
Let me put it this way.
In the example test that comes with the Hosmonitor you have 3 Folders:
USA Branch, Asia and Europe. I would like to create a report that shows me just 3 Items (USA Branch, Asia and Europe) that would change the color of this items based on the status of the tests that are inside these folders. Then I would have an overview of the overall status of the whole system without the need to show specific tests.
Thanks a lot, Pablo
Now I understand.
I think you should use "Custom HTML report". "Test items" section of the report profile can be empty, in this case HostMonitor will not display tests.
Also you should use some JScript in "Folder title" section. Script may check %FolderCurrent_BadTests% and %FolderCurrent_UnknownTests% variables and set color depending on these variables.
More information about Custom HTML reports available in the manual or you may find this information on our web site at www.ks-soft.net/hostmon.eng/mframe.htm# ... CustomHTML
Regards
Alex
I think you should use "Custom HTML report". "Test items" section of the report profile can be empty, in this case HostMonitor will not display tests.
Also you should use some JScript in "Folder title" section. Script may check %FolderCurrent_BadTests% and %FolderCurrent_UnknownTests% variables and set color depending on these variables.
More information about Custom HTML reports available in the manual or you may find this information on our web site at www.ks-soft.net/hostmon.eng/mframe.htm# ... CustomHTML
Regards
Alex
I've got it.
Now I have the master Report, the problem now is when I try to create an individual report for each folder, for some reason when I specify a report for a subfolder, that subfolder disapears from the parent folder report, is there any way to work around this ?
Thanks, Pablo
Thanks, Pablo
You will need to disable "AlwaysWithSubfolders" option.BTW, is there an option to skip a folder from being reported ?
Normally Report Manager creates reports (on the schedule) for specified folder and for subfolders that use parent folder settings.
If you use "Generate reports" action to create reports, you may choose one of the following option:
- Single folder
Include specified folder only (no subfolders)
- Folder & all subfolders
Include specified folder and all descendant subfolders
- Folder & subfolders with inherited settings
Incude specified folder and subfolder which inherit reports' settings from the parent folder
Regards
Alex
Alex, I'm almost done, I've decided to go thru the Reports generated via HMScript
However I've found that this script does not behaves the way I think it should.
SetCurrentFolder Root
IncludeSubfolders yes
CreateReport "CP" c:\temp\testhm\cust_report.htm
CreateReport "Compact" c:\temp\testhm\%Folder%.htm
This HMScript creates the CP profile report on c:\..\cust_report.htm fine.
the 2nd line creates the "Compact" profile report on c:\...\Reports.htm because "Reports" is the name of the folder where the test that launches this HMScript resides.
Is this by design ? is this a bug ?
is there any way to workaround this ?
Thanks, Pablo
BTW, Everyday I find a new use for your program, it's simply superlative.
However I've found that this script does not behaves the way I think it should.
SetCurrentFolder Root
IncludeSubfolders yes
CreateReport "CP" c:\temp\testhm\cust_report.htm
CreateReport "Compact" c:\temp\testhm\%Folder%.htm
This HMScript creates the CP profile report on c:\..\cust_report.htm fine.
the 2nd line creates the "Compact" profile report on c:\...\Reports.htm because "Reports" is the name of the folder where the test that launches this HMScript resides.
Is this by design ? is this a bug ?
is there any way to workaround this ?
Thanks, Pablo
BTW, Everyday I find a new use for your program, it's simply superlative.
What exactly you don't like? Name of the target file? "Reports.htm"?This HMScript creates the CP profile report on c:\..\cust_report.htm fine.
the 2nd line creates the "Compact" profile report on c:\...\Reports.htm because "Reports" is the name of the folder where the test that launches this HMScript resides.
Is this by design ? is this a bug ?
This is correct behavior. %Folder% variable represents name of the folder that contains the test that triggered the action.
Or I miss something?
Regards
Alex