- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2019 10:20 AM
I am creating a full E2E lifecycle ATF test script template for Request Items in the Service Catalog. I have been successful at opening the catalog Item, setting all the variables, completing 4 levels of approvals, triggering tasks. auto assigning, making changes to the task, validating those changes, and ultimately completing the task. I am able to validate that the proper email notifications are being triggered at the correct phase of the workflow, but I cannot figure out how to display the notification emails during an ATF Test so that I can get a screenshot of it during test execution?
After the Catalog Item is successfully ordered I have:
RECORD QUERY:
Validate there is at least one record in 'sys_email' matching query:
Body contains {{Step 8: Order Catalog Item.Cart}}
and Subject contains has been opened on your behalf
With a failure timeout of 30 Seconds
The above is successful, but when I try the step below it fails to work.
OPEN EXISTING RECORD:
Open the 'Email' 'sys_email' form with id '{{Step 8: Order Catalog Item.Request}}'
The Error message I receive is:
FAILURE: Failed to open the 'sys_email' form with id '8a6fbe1fdb4e3b44dd62d7795e961937'
Table 'sys_email' does not have a record with id '8a6fbe1fdb4e3b44dd62d7795e961937'
I have attached a PDF of the script, everything works except opening the email notification.
Thoughts anyone?
Solved! Go to Solution.
- Labels:
-
Automated Test Framework

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2019 10:41 PM
Hi Nuccetellia,
I am sorry to tell you that the link that you want to click using ATF cannot be configured yet, as there are no such functionalities build in ATF yet.
You need to find a different alternative for that particular step.
Hope this helps.
Please mark the answer as correct/helpful.
Regards,
Soumita.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2019 12:14 AM
Hi,
I would like to suggest you to use the "RECORD QUERY" step instead of using the "Open the email step".
Configure using the record query step with all the information that you have stated above and then use the Open and existing record where you fetch the record query step which will give you a screenshot.
Please let me know for any further issues.
Hope this helps.
Please mark the answer correct/helpful.
Regards,
Soumita.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2019 01:08 PM
Hi Soumita,
I was not able to make any progress with the"Record Query" command but but I did make progress, see attached file.
And now I'm in search of a way to click that link during the test and display the content of the actual email. Any thoughts?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2019 10:41 PM
Hi Nuccetellia,
I am sorry to tell you that the link that you want to click using ATF cannot be configured yet, as there are no such functionalities build in ATF yet.
You need to find a different alternative for that particular step.
Hope this helps.
Please mark the answer as correct/helpful.
Regards,
Soumita.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2019 06:55 PM