ATF email validation failing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2025 11:22 AM
Hello,
I'm trying to validate the email body of a notification through ATF using the validate outbound email/validate outbound email generated by notification test steps.
The contents from the preview email of a notification are matching to that of the validate conditions but still the step is failing. What could be the reason? Can anyone please help me with this?
PFA the screenshots:
Preview email:
validation step:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2025 07:15 PM - edited 05-23-2025 07:16 PM
You need to check the Body field instead of preview.
For exmaple, I configured Test step like Conditions: body contains "<div style="padding-bottom: 32px;">" and execute test, the test result is success because email body contains "<div style="padding-bottom: 32px;">".
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 03:32 AM
@shun6 So can we not validate the email contents through preview email?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 05:38 AM
Yes, I think so. When I have a same requirement like you I use body field value to validate email body content.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2025 02:47 AM
'Resolved by' value didnt match in your ATF Test Result and the email preview screenshot.
One says 'ITIL Test User' and the other says 'Asignee user'.
Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth