Automated Testing Framework (ATF) has always been a key topic around ServiceNow testing, especially for those keen in Quality Assurance.

One of those people is Zherald, SPOC’s Security and QA lead who has a passion for Testing and making sure systems are safe and working as expected.

Zherald SPOC QA Lead

Zherald’s Introduction to ServiceNow’s Automatic Testing Framework :

The ATF is a solution that saves time and frustration. It allows previously built test scenarios to be used many times.

Previously, the only real option for ServiceNow was to use a 3rd party solution. Many of which were very expensive.

ServiceNow has solved this issue by introducing the Automated Testing Framework module, available since the Istanbul release.

Since its introduction to the Now Platform, ATF has been greatly improved and now offers a lot of help for performing Automated Testing.

It offers flexibility, especially for MSP’s as they are easily transferable from one instance to another; using XML update sets.

From  a Quality Assurance (QA) perspective, there are some huge benefits:

Great Feature : Running and executing the suites in a scheduled job. This means you may schedule the time when you want the tests to run in the future.

Assessing the Solution

We used the ATF for automating the testing for our internal tool Project Management Application, built on the Now Platform.

The solution itself, as its name suggests, is used for project management and is utilised by various user groups – project managers, developers, testers, etc.

The automation we have implemented is focused on the lifecycle of Agile Projects. This covers all components such as backlogs, sprints and stories.

Another aspect we have managed to automate is the verification of forms. This applies to each project component and includes the presence of fields, their default values and attributes.

Our test scenarios are divided into suites, each one covering the above-mentioned project component.

Running an exemplary suite for the Sprint will trigger the following test to be executed:

Software Bug Located

As the ATF in ServiceNow has been introduced quite recently, we encountered some issues and bugs. These were not critical issues that made it impossible to use ATF, but we are looking for them to be resolved in the next ServiceNow releases.

An Example

One issue was the inability to populate journal fields (Additional Comments or Work Notes) that can be mandatory while changing states of records.

In the latest London release, users of the ATF now have the possibility to automate Service Portal and Service Catalogue testing.

In our eyes, this is a huge step towards making the ATF an important part of the Testing Arsenal.

servicenow release timeline

With these features (and others coming in the following releases for sure!) Customers can benefit in numerous ways:

I can’t wait to see what’s next with this application and ServiceNow testing.

Podziel się tym artykułem

Add Comment

Leave a Reply

Join us:

Visit our website and check current job offers.
If you want to learn more about ServiceNow and become certified professionals check out the training offer.
Do you use ServiceNow in your work and would like to share your knowledge? Mail us at blog@spoc.pl.