I originally posted the following in the Installation / Configuration forum... I am moving the post to the Wish List forum since it is a feature I need before I can start to use Templates:
----------
Using Macros / Variables in the "Private Log" and "Related URL" name fields:
The newest version of HostMonitor introduced the concept of “Templates” through the use of Variables. I think this is a great idea since I have several thousand tests setup that are continuously being modified / added. I started to make templates using this new feature; however, I am experiencing difficulties with a couple fields in the template…
These fields are the “Use Private Log” field where you name the Log File and the “Related URL” field name.
All of my tests have a private log setup (Hence the name “Private Log”) but I cannot find a way to Auto Populate a Unique name for each test when a template is copied into a folder. Before using templates, I used a Private Log name based on the name of the server I was running the test against. I was hoping to use a macro variable such as %Host% or %Folder% in the name of the Private Log to generate a unique name based off the Folder name just as you can name the test based off the folder name using the macro %Folder%. When I put something like C:\Hostmonitor\%Folder%.html in the Field for Private Log I do not get the results I was hoping for. Likewise, I have the same problem defining the URL name in the “Related URL” field on the test.
Without being able to generate a Unique Name for the “Private Log” and “Related URL” for each test, the Nice Template feature has become unusable since I cannot log Test results to a private log for each individual test.
Would it be possible to use Macros / Variables in these fields so they will autopopulate when using templates?
Macro in "Pivate Log" field
The following update www.ks-soft.net/download/hm775.zip allows you to use variables for Related URL field.
Please install version 7.74 before using this update
Regards
Alex
Please install version 7.74 before using this update
Regards
Alex
Ok, there is new version www.ks-soft.net/download/hm775d.zip
It allows you to use variables for Related URL and Private Log fields.
Please install version 7.74 before using this update
Regards
Alex
It allows you to use variables for Related URL and Private Log fields.
Please install version 7.74 before using this update
Regards
Alex
not working....
hi
i downloaded the 7.75d version
but stil this is NOT working
\\192.168.1.100\Data\Software\Hostmonitor\%Folder%.htm
i wont create seperate files
what am i doing wrong ???
i changed the options -> log settings ->File log -> log to specific file
\\192.168.1.100\Data\Software\Hostmonitor\%Folder%.htm
but this is not working for me.....
i downloaded the 7.75d version
but stil this is NOT working
\\192.168.1.100\Data\Software\Hostmonitor\%Folder%.htm
i wont create seperate files
what am i doing wrong ???
i changed the options -> log settings ->File log -> log to specific file
\\192.168.1.100\Data\Software\Hostmonitor\%Folder%.htm
but this is not working for me.....
Please read the manual.
http://www.ks-soft.net/hostmon.eng/mfra ... #templates
Templates can be applied to test items.
It has nothing to do with global options!
Regards
Alex
http://www.ks-soft.net/hostmon.eng/mfra ... #templates
Templates can be applied to test items.
It has nothing to do with global options!
Regards
Alex