Forum Discussion
slotz
14 years agoNew Contributor
Thank you for the reply Helen.
My preference is to use the MSMQ scripting API but I was having no luck with the c#script code. Here is my current attempt.
var msmqInfo;
var qname = ".\\private$\\TestQueue"
msmqInfo = Sys["Messaging.MessageQueue"];
//set path for messaging object
msmqInfo["Path"](qname);
Testcomplete complains that the variable object 'msmqInfo' is undefined. Any help would be appreciated.
My preference is to use the MSMQ scripting API but I was having no luck with the c#script code. Here is my current attempt.
var msmqInfo;
var qname = ".\\private$\\TestQueue"
msmqInfo = Sys["Messaging.MessageQueue"];
//set path for messaging object
msmqInfo["Path"](qname);
Testcomplete complains that the variable object 'msmqInfo' is undefined. Any help would be appreciated.