View previous topic :: View next topic |
Author |
Message |
Flashback
Joined: 27 Oct 2002 Posts: 37
|
Posted: Wed Aug 13, 2003 9:12 pm Post subject: SetTestParam SQLQuery |
|
|
Using the SetTestParam SQLQuery command in an HMS script, the macro variable %reply% comes over as %reply% and not the value which it should represent. I am currently running HM 4.04 beta. This feature worked on HM 3.70. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12801 Location: USA
|
Posted: Thu Aug 14, 2003 2:09 pm Post subject: |
|
|
How do you start the script? If script is executed as action in respond to test status changes, HostMonitor will substitute parameters of the test instead of macro variables. But if script is started by schedule or manually using main menu, test related macro variables will not be resolved.
Regards
Alex |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Flashback
Joined: 27 Oct 2002 Posts: 37
|
Posted: Thu Aug 14, 2003 2:15 pm Post subject: |
|
|
It's executed as an action in response to a change in status. As I said, the test worked when I ran 3.68 and the macro resolved with no issues. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12801 Location: USA
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Flashback
Joined: 27 Oct 2002 Posts: 37
|
Posted: Thu Aug 14, 2003 10:06 pm Post subject: |
|
|
Worked great! Thanks! |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|