ATF: "Request More Information" UI Action Sends Email in UI but Not During ATF Execution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 01:21 AM
Hi All,
I’m currently working on an Automated Test Framework (ATF) test for a Policy Exception record. When a user clicks the "Request More Information" UI action manually, an email notification is correctly triggered and sent to the requester.
However, when the same action is performed as part of an ATF test, no email record is created in the sys_email table, which subsequently causes the next test step—validating the outbound email—to fail.
Requesting for help here.
Thanks in Advance,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 08:00 AM
that's correct the 2nd notification is not getting triggered with that subject and hence it's not finding in the ATF.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 09:19 AM
Why the second notification is not triggering, its gets triggered when i click ui action manually but not when its done through atf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 07:47 PM
it should generate from ATF also then
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2025 01:26 AM
Second notification was supposed to trigger when ui action "Request More Information" is clicked, and we are doing this step in atf. but still second notification didn't get triggered. But if i manually click on ui action "Request More Information" email is being sent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2025 01:32 AM
Strange.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader