|
View previous topic :: View next topic |
Author |
Message |
mos-eisley
Joined: 21 Mar 2007 Posts: 76 Location: Klarup (AAlborg), Demark
|
Posted: Thu May 31, 2007 12:19 am Post subject: Unique ID of a Test: |
|
|
Hi,
I am looking at the description of the %TestID% macro:
"Represents unique ID of the test. TestID is always unique within an HML file"
Does this mean that:
1. The ID is a constant for each test in the tree
or
2. A sequencenumber for each test done, like 1,2,3,4 ......n
What I am looking for is binding a test entry (one single performed test) together with an SMS sendt, the performance of the test makes an entry in my database, and a action on the test also makes and entry in my database, so I want a "key" to say, this test spawned this SMS.
Hope that this is understandable(?) |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Thu May 31, 2007 2:20 am Post subject: Re: Unique ID of a Test: |
|
|
mos-eisley wrote: | 1. The ID is a constant for each test in the tree | Correct.
When you create a test, HostMonitor assigns unique number to the test - TestID. This number represents the test until the test will be deleted. Unlike TestName, you cannot change TestID.
mos-eisley wrote: | What I am looking for is binding a test entry (one single performed test) together with an SMS sendt, the performance of the test makes an entry in my database, and a action on the test also makes and entry in my database, so I want a "key" to say, this test spawned this SMS. | Performed test does not have the sequence ID and TestID does not represent the sequence of the performed tests. Probably, you may use other statistical information, like: %TotalTests%, %FailedCnt%, %PassedCnt%, etc.
Regards,
Max |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|