ATF: "Request More Information" UI Action Sends Email in UI but Not During ATF Execution

Sachin G K1
Kilo Sage

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.

 

SachinGK1_0-1745914865555.png

Requesting for help here.

 

Thanks in Advance,

Sachin

16 REPLIES 16

@Sachin G K1 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar ,

Why the second notification is not triggering, its gets triggered when i click ui action manually but not when its done through atf 

@Sachin G K1 

it should generate from ATF also then

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar ,

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

@Sachin G K1 

Strange.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader