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-30-2025 02:23 AM
Notification triggers as follow:
when you click on ui action "Request More info", this ui action changes the substate to "Awaiting requester information".
And notification gets triggered when substate changes to "Awaiting requester information" and state is "Analyze".
Actually clicking the ui action in atf is changing the substate to "Awaiting requester information", but its not triggering notification in atf.
Myquery: is there is gap between ui action clicking in atf and notification is not getting triggered when state changes to "Awaiting requester information". do i need to do anything from server script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2025 02:39 AM
Add Run server script before record Query step and add the below code in run server script
If my response helped please mark it correct and close the thread so that it benefits future readers.
Akiladevi Rajendran