LogiUpSkill

Automated Test Framework (ATF)

    With the Automated Test Framework (ATF), we can create and run automated tests on our Service Now instance.

             Whenever we upgrade to any instance, we can run these tests to confirm that the instance still works as designed.

             To enable test execution –>select Properties of ATF application–>select the yes option to enable test/test suite execution.

 

             createnew test case, search for test module in left navigation -> Click on  New

 

             New form will be open as follows-

 

             To add test step – >Click on Add Test step

 

             Step 1 – Select create a user option

 

             Specify user details like first name, last name, roleetc and impersonate this user, so test case will be run as newly created user.

 

 

             Step 2- To check the mandatory fields, need to open an existing record first-

 

             Select table name and record

 

             Step 3 – Select field state validation option

 

             Select table name, Visible, Read only, mandatory etc options-àSave

 

             Now run the test case

 

             Test result-

 

             If every step works as per expectation then you can see following successful test status.

 

             Test case evidence are also collected, we can see them from test result, open latest record

 

             See the attachments; at every step one test evidence is getting captured.

Automated Test Framework(ATF) in Service-now