How do we create ATF test steps for case creation from email

deepikad1601339
Tera Contributor

Hello All,

I need to configure ATF Test steps,

emails we stored in csm case routers..

Any emails received by SN from below mailboxes should create a Case .
Need to Implement ATF Steps to automate the testing case records

example emails are "casetpts@gmail.com" and "case2tpts@gmail.com"

 

Thanks in Advance!

6 REPLIES 6

Som4
Tera Contributor

You can use "Generate Inbound Email" test step and can pass the email in the 'From' field.

@Som4  In the email logs notification is getting triggered but the thing is target and target table is empty... it should not empty it should be case table 

  1. Make sure that the inbound email action is configured correctly to process emails and create cases. You should verify that the action is set to trigger on emails from specific mailboxes (e.g., casetpts@gmail.com or case2tpts@gmail.com) and that the target table is set to Case. If the target table is blank or incorrect, the action won't create a case record.

  2. Ensure the condition in the inbound email action correctly matches the conditions you're expecting for your test (e.g., sender's email, subject, etc.). If the condition is not matching correctly, the target record might remain empty.

  3. If there's any script associated with the inbound email action, check if it's manipulating the target table or if there's any logic that’s overwriting the table reference.

@Som4  Please let me know is there any docs so it can help me to achieve this..

And i tried and i have configured steps pls find the below screenshots

Test step 1

deepikad1601339_0-1751476716349.png

Test step 2

deepikad1601339_1-1751476810291.png

Test step 3

deepikad1601339_2-1751476863713.png

After adding above step i performed RUN TEST..

notification getting triggered but target and target table getting empty pls find the below email log

deepikad1601339_3-1751476985975.png

i am not sure where i am doing mistake