Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: Send Auto Mail when Test status is changed in Test Plan

$
0
0
Hi Jan
I have the same problem but in the Requeriminets module.
The script is the following:

Sub Req_FieldChange(FieldName)
Dim strSubject, strDes
If FieldName("RQ_REQ_PRIORITY").IsModified Then
strSubject = "Test Change Notification" & " for project " & TDConnection.ProjectName & " in domain " & TDConnection.DomainName
strDes = "The user " & User.FullName & " changed the status of the test " & FieldName("RQ_REQ_PRIORITY").Value & " to " & FieldName("RQ_REQ_PRIORITY").Value
TDConnection.SendMail "eddy.vazquez@globallynx.com", "", strSubject, strDes, NULL,"HTML"
Set TDConnection = Nothing
End If
End Sub.

Is there an error in the code?
My code stayed in ReqCanPost.

I hope help me.
Regards

Viewing all articles
Browse latest Browse all 14708

Trending Articles