How to use e.g. %Folder variable in dependant (master) test?

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
kalkulationsmaschine
Posts: 12
Joined: Mon Aug 01, 2005 9:42 am
Location: Austria

How to use e.g. %Folder variable in dependant (master) test?

Post by kalkulationsmaschine »

Is it possible to use the current folder name in an expression to define a master test? I want to be able to copy all tests from one folder to another. All tests can be configured using variables like %folder% or %fvar_ip% for test parameters. Unfortunately if I define a master test (e.g. ping host1) for a folder it remains the same after copying the tests to another folder. But in the new folder I want to have an other test (e.g. ping host2) defined as master test automatically.
I tried defining an expression but if I use the %folder% variable it gets expanded at once and I get an error...
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Sorry, there is no such option yet

Regards
Alex
User avatar
greyhat64
Posts: 246
Joined: Fri Mar 14, 2008 9:10 am
Location: USA

Post by greyhat64 »

Alex,
Loosely related - It doesn't appear I can use the %Folder% variable in the Folder Properties\Reports "Generate to file" option. This would greatly help in naming, organizing, and distributing my reports. I could also set up a single, high level reports configuration and inherit these options.

Am I missing something, or should this be added to the Wish list?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If folder inherits report settings, usually this means folder does not create its own reports at all. Test items located in the folder included in reports specified for the parent folder.
Unless you are using "Generate reports" action. In such case you may choose any folder so support of the %folder% variable may be usefull :roll:

Not sure how reports can be related to original "Master test - patterns" question? I think its better to use different topics for complette different questions.

Regards
Alex
Post Reply