View previous topic :: View next topic |
Author |
Message |
Mallhoc Guest
|
Posted: Wed Jun 08, 2005 2:36 am Post subject: Editing test by .HMS script |
|
|
hi,
i'm a french student and use this soft for a professional training course.
in this work i had to add test by an other soft. so i use .HMS script to import a file which contains all the test.
but, once that they are added, I would like to edit them by a script file.
I saw that we could modify certain parameter :
timeout
username
password
comment
commentlineNN
but is there a method for another ? (like title or all the Test specific properties)
thank you in advance
Nicoulaïe |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12818 Location: USA
|
Posted: Wed Jun 08, 2005 6:34 am Post subject: |
|
|
Sorry, this is impossible
I think you may edit import file and then reimport new settings
Regards
Alex |
|
Back to top |
|
|
Guest
|
Posted: Wed Jun 08, 2005 8:03 am Post subject: |
|
|
ok thanks you
and by the way we can't reimport settings . Because when the soft recognizes a known test title, it doesn't try to read the specifique parameters and goes to the next test
Nikoo |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12818 Location: USA
|
Posted: Wed Jun 08, 2005 8:39 am Post subject: |
|
|
You may use "ImportMode = Modify" option: Quote: |
; -- Special commands (added in version 4.40) --
; ImportMode
; this parameter may be set to one of the following values:
; ImportMode = Add
; - in this mode HostMonitor adds new tests to the
; list; prompts for confirmation when the test with specified name already
; exists within the list (in any folder). This mode is used by default as it
; conforms with the behavior of previous versions of HostMonitor (version
; 4.30 or earlier);
; ImportMode = Modify
; - in this mode application adds new test if
; the test with specified name doesn't exist in the folder. Otherwise,
; HostMonitor replaces the test settings by those provided in the imported
; file. Statistical information (dead ratio, alive ratio, etc) is kept intact;
; ImportMode = Replace
; - adds new test if the test with provided name
; doesn't exist in the specified folder. Otherwise, HostMonitor replaces
; the test settings with the settings that are specified in the imported
; file and resets all statistical information (similar to the effect of
; complete removing of an old test and then creating the new one instead.
|
Regards
Alex |
|
Back to top |
|
|
Guest
|
Posted: Wed Jun 08, 2005 9:34 am Post subject: |
|
|
oh ok thank you very much !!
see you |
|
Back to top |
|
|
mallhoc Guest
|
Posted: Thu Jun 09, 2005 12:51 am Post subject: |
|
|
hey me again !!
just a last question.
Can we delete a test by a script ? or we can just disable it.
thanks
Nikoo |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12818 Location: USA
|
Posted: Thu Jun 09, 2005 9:10 am Post subject: |
|
|
There is "DeleteTest <testname>" command. But this is undocumented command, so I cannot guarantee it will be supported in future versions
Regards
Alex |
|
Back to top |
|
|
|