View previous topic :: View next topic |
Author |
Message |
gorisdean
Joined: 20 Jun 2012 Posts: 22
|
Posted: Wed Jun 20, 2012 8:02 am Post subject: Export to TXT file |
|
|
We created a small application that compares our HM testlist with our effective application environment to make sure the testlist is as complete as possible.
This tool starts from an export to TXT file of the HM list and runs every month.
To make sure it is working on the latest version of the testlist the export should be scheduled regularly.
I was not able to find any solution to schedule an export to TXT file.
Not by using an action profile, nor HMScript or command line interface...
(Hostmonitor v8.86) |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Jun 20, 2012 9:28 am Post subject: |
|
|
What parameters are checked by your application?
If you check list of servers, type of tests... then DBF, HTML or Text reports can be used.
Regards
Alex |
|
Back to top |
|
|
gorisdean
Joined: 20 Jun 2012 Posts: 22
|
Posted: Fri Jun 22, 2012 3:59 am Post subject: |
|
|
I'm only checking URL tests and I need:
- the test name
- the test URL
- Enabled/Disabled
It looks like the Test URL itself cannot be exported in a report.
By default the Comment field contains the test URL as well, but not in my case...
I only see an option if I change the Comment fields of all my URL tests to contain the test URL? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri Jun 22, 2012 6:06 am Post subject: |
|
|
Quote: | I only see an option if I change the Comment fields of all my URL tests to contain the test URL? |
This can be done by Denomination procedure (menu Profiles->Patterns).
May sure to deactivate other test methods if you do not want to change comment for all test methods
Regards
Alex |
|
Back to top |
|
|
gorisdean
Joined: 20 Jun 2012 Posts: 22
|
Posted: Mon Jun 25, 2012 1:50 am Post subject: |
|
|
Found a solution at last.
Created a custom HTML report. Deleted all HTML tags. Hostmonitor will now just generate a text file. For all test items I added following textx:
DefaultFolder = %Folder%
Method = Url
Title = %TestName%
Disabled = %Status%
URL = %HostURL%
Output is almost the same as the Text Export via the menu. At least for the properties I need. |
|
Back to top |
|
|
|