Sorry, SetTestParam command does not support AlertProfile parameter name.
Quote from manual:
http://www.ks-soft.net/hostmon.eng/mfra ... #actScript
=============
ParameterName can be one of the following:
timeout
username
password
comment
commentlineNN (when NN is number from 1 till 99)
=============
If you want to change the alert profile for the group of tests, you may select all necessary test, click "Edit" button on the toolbar and specify appropriate alert profile.
On the another hand, you may Export/Import functins of HostMonitor. You may export tests to the file (menu "File > Export to Text file"), change alert profile manually or using third party software and import them again using menu "File > Import from Text file" or using "ImportFromFile" of HMS script.
Regards,
Max