ATF - Notification validation

roomawakar
Tera Contributor

Hi All,

 

I have requirement to write an ATF test case to check if the notification has been sent to the assignee of the task once the task has been assigned.

 

I am using the 'Validate Outbound Email Generated by Notification' where the condition is:

"Subject" contains "has been assigned to you"
"Body Text" contains "Request for local administrative privileges to a user's workstation"

""Subject" contains "<<The step which is querying the sc_task record>>"

But the it is failing with the error as : "No record matching the query". Screenshot attached.

 

Can someone please suggest how to validate the notification if it has been triggered or not for that sc_task?

 

Thanks,

 

0 REPLIES 0