The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Ankur Bawiskar
Tera Patron
Tera Patron

ServiceNow has enhanced the ATF by adding new Category called "Lists and Related lists" test steps to improve the ability to test list-based functionality as part of Orlando Release. It includes testing Lists & Related List in the Automated Test Framework. It has also added new Category called "Email" test steps to check for outbound and inbound email.

Until Orlando release there was no way we could validate the Lists and Related Lists on the form.

With the additional list and related list steps, much more client interactions can be tested and validated with Automated Testing Framework.

Example: Consider a use case wherein you want to validate existence of related list on form, existence of UI action in related list, existence of record in related list.

Below will be the benefits of the new test steps added as part of Orlando Release:

  • Helpful to validate the visibility of related list on form, validate record is present in the list
  • It is also helpful if you want to click a UI action in a list or related list.
  • Enhances the filtering ability and checking the existence of record.

Orlando release has come up with bunch of email test steps features that would help test email notifications, outbound email flows, and inbound email responses. With this feature, the ATF test designer can now test the notifications based on whether emails have or have not been triggered. It would also validate whether the configured inbound email action is working as expected.

Category: Lists and Related Lists

  • Validate related list visibility - This test step would allow to validate the visibility of the selected related lists on the form. It can be configured to check existence and non-existence of related lists on the form.
  • Apply a filter to the list - Prior to Orlando the only way to check presence of record in a list or related record was to have multiple steps, query the table and find a record. Using this step filter can be applied to list or related list records and validate any matching record exists.
  • Validate Record Present in List - It can be used to validate presence of record in list. The step can be configured to check if record is present or not on the form.
  • Open a Record in List - Prior to Orlando in order to open a related record on form, multiple steps were required to query the table and find the required record based on filter conditions. As part of this step the specific record can be opened in the list.
  • Validate List UI Action Visibility - This step allows to validate whether UI action is visible in the list. This step can also be configured to check any number of UI Actions are either visible or not visible.
  • Click a List UI Action - This step allows to click a UI action in a list or related list.

Category: Email

  • Validate Outbound Email - This step allows to find an email that was sent during testing. It verifies that a certain outbound email exists by searching for it in the Email [sys_email] table.
    Note: During testing, this step may take longer than expected to execute. The step times out after two minutes by default.
  • Validate Outbound Email Generated by Flow - This step allows to verify that a certain outbound email exists by searching for it in the Email [sys_email] table. Use this step to test that a flow is triggered as expected. This step searches only for emails that are created by a flow Send Email action.
  • Validate Outbound Email Generated by Notification - This step allows to verify that a certain outbound email exists by searching for it in the Email [sys_email] table. Use this step to test that an email notification is triggered as expected.
    Note: During testing, this step may take longer than expected to execute. The step times out after two minutes by default.
  • Generate Inbound Email - This step will allow to create an incoming email record to test an inbound email flow or an inbound email action.
  • Generate Inbound Reply Email - This step will allow to create a reply email record to test how the system handles a user response to an email notification.

Screenshots:

find_real_file.png

find_real_file.png

Thanks for reading the blog and do provide your inputs/suggestions if any.

Hope you find this article helpful. Don’t forget to Mark it Helpful, Bookmark.
Thanks,
Ankur Bawiskar

ServiceNow MVP 2020,2019,2018

My Articles & Blogs

 

3 Comments