View previous topic :: View next topic |
Author |
Message |
AdamMon
Joined: 11 May 2012 Posts: 8
|
Posted: Tue Jul 10, 2012 2:40 am Post subject: GetTestParamByID |
|
|
Hello,
we Store a Lot of Information in the CommentLines so we can build Views afterwards by using this Information.
We want to Build a customized mask (in C#) where you can choose from different information(which Hosts is tested, who should be noticed...) wich will be writen in the CommentLines aftwerwards.
This works fine by usind the SetTestParamByID Command, but there should be a possibility to change the Parameters afterwards. For this we need to read ALL CommenLines out.
By using TestInfoByID i only get the First 5 CommentLines. We need at least the first 10
Thank you |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Tue Jul 10, 2012 6:05 am Post subject: |
|
|
Not sure what exactly software/option do you use.
Are you asking about commands supported by Telnet service?
or you are talking about HM Script?
Regards
Alex |
|
Back to top |
|
|
AdamMon
Joined: 11 May 2012 Posts: 8
|
Posted: Tue Jul 10, 2012 7:23 am Post subject: |
|
|
i'm using the Telnet service. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Wed Jul 18, 2012 12:37 pm Post subject: |
|
|
We checked code and we don't want to change that function...
May be you can use some other options? E.g. we can add command like ShowAllCommentsByTestID.
Do you need just comments or other test properties as well?
Regards
Alex |
|
Back to top |
|
|
AdamMon
Joined: 11 May 2012 Posts: 8
|
Posted: Thu Jul 19, 2012 6:33 am Post subject: |
|
|
That would be perfect! Thats all i need. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Thu Jul 19, 2012 9:43 am Post subject: |
|
|
Ok, will be implemented in next version.
Regards
Alex |
|
Back to top |
|
|
AdamMon
Joined: 11 May 2012 Posts: 8
|
Posted: Fri Jul 20, 2012 6:57 am Post subject: |
|
|
Could you implement a command like GetHighestID wich responses with the last ID the System gave a Test. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Fri Jul 20, 2012 9:38 am Post subject: |
|
|
What you plan to do with this ID?
Regards
Alex |
|
Back to top |
|
|
AdamMon
Joined: 11 May 2012 Posts: 8
|
Posted: Mon Jul 23, 2012 1:31 am Post subject: |
|
|
I want to create Tests by using Telnet. And because you can have multiple Tests with the same Name we want to write the TestID in the Testname automatically.
So my idea was to read out the highest test id and add 1 to it. The Problem is, that this someone could have deleted Tests in the meantime and it needs a lot of time to read out the highest id by using "TL -r". |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Mon Jul 23, 2012 5:19 am Post subject: |
|
|
What if somebody adds test between telnet commands? You do not use RCC/HostMonitor GUI for test list management? All tests created by using import text file?
Regards
Alex |
|
Back to top |
|
|
AdamMon
Joined: 11 May 2012 Posts: 8
|
Posted: Tue Jul 24, 2012 1:35 am Post subject: |
|
|
The probability that someone adds a test between the two telnet commands is really low, and never happened before. We use telnet for adding new tests and editing the commentlines. |
|
Back to top |
|
|
|