In HM Scripting I can reset recurrences on the test "TestA" by running a one-line script saying
ResetRecurrencesTest TestA
Now, I run a test (basically the same test just performed by different RMA's) on a lot of different webservers that heavily relies on the possibility of entering Test Performer as the "Execute by" parameter in the Action properties window.
This way I can use the same alert profile for this particular test that's beeing run on all the webservers.
I would like to extend this alert profile that's beeing used on multiple servers by adding an action that runs a HM script. This script only have one purpose, resetting the recurrences counter for the test for this particular webserver.
As already mentioned, this can be done by entering e.g. ResetRecurrencesTest TestA.
Trouble is now that this will only work for TestA so when I want this behaviour to be applied to TestB I can no longer use my "shared" Alert profile as my HM Script file exactly specifies that the reccurences reset will be applied to TestA only.
Would it be possible to extend the ResetReccurencesTest command so that it accepts something like [Current Test Name] as parameter - similar to Execute by that accepts Test Performer ?
If I could type ResetReccurencesTest PerformingTestName and HM would understand that PerformingTestName was actually TestA or TestB or TestC or whatever the Test name would be then my "shared" Alert profile would remain generic and still be usable on a lot of servers.
Phew - hope this makes sense

Thanks !
Kasper :O)
PS - ResetRecurrencesAll is not an option in this case as there are more tests than this one in the folder hierachy.