This article contains steps on how to execute a script against a device in NCM. Through this, you can confirm that your script is valid and you can use it in i.e. alert to trigger NCM action.
NCM version 7.4 and earlier
Note: Before executing you can also tick Save script and/or Execute in Config Mode.
To find out more about Execute in Config Mode please click here.