Is it possible to use workflow script in ALM to email the user the test run results after a test run using manual runner has completed?

  • Questions
  • Is it possible to use workflow script in ALM to email the user the test run results after a test run using manual runner has completed?
Question ID: 106119
0
0
Marked as spam
Posted by (Questions: 230, Answers: 30)
Asked on May 22, 2015 3:17 pm
31 views
Answers (1)
0
Private answer

Yes. You can place the following script into the 'Run_AfterPost' action to notify the user after the run has completed:

Sub Run_AfterPost
On Error Resume Next
Dim strSubject, strDes, sendTo, sendFrom
strSubject = ''Test Change Notification'' & '' for project '' & TDConnection.ProjectName & '' in domain '' & TDConnection.DomainName
strDes = ''A user has run the following test: Test Instance ID = '' & Run_Fields(''RN_TEST_INSTANCE'').Value & ''The test run ended with the following status '' & Run_Fields(''RN_STATUS'').Value
sendTo = Run_Fields(''RN_TESTER_NAME'').Value
sendFrom = ''''
TDConnection.SendMail sendTo, sendFrom, strSubject, strDes, NULL,''HTML''
On Error GoTo 0
End Sub

You may need to edit the script some to suite your specific needs. Hope this helps!

Marked as spam
Posted by (Questions: 2, Answers: 292)
Answered on May 22, 2015 3:18 pm