如何修复在HP ALM中不起作用的'SendMail'功能

时间:2019-04-26 10:08:35

标签: hp-alm

我们在HP ALM工作流程的脚本编辑器中编写了VBScript。根据某些条件,我们添加了SendMail功能来通知所需的组。此功能自5年多以来一直在起作用,但是现在突然停止了工作。我们已验证传递给它的所有参数均具有有效信息。

您能建议同样的解决方案吗?

代码段:

if oldStatus = "Regression" then

    mailSubject="Field has changed for the Freezed TestCase(TestID: "&testID&")"
    mailBody="Hi,<br><br> User:<b> "&modifiedBy&"</b> has changed the field of Freezed TestCase <b>" &testCaseName&"</b>(TestID: <b>"&testID&"</b>) from <b>"&oldStatus&"</b> to <b>"&newManualQaStatus&"</b>.<br>This is an Auto Generated Mail, Please Do not reply."
    Set tdc=TDConnection

    tdc.SendMail mailTO,"",mailSubject,mailBody,""
end if

0 个答案:

没有答案