ATF - Records Modified or Mutually Exclusive Tests in ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2024 05:51 AM
Hi ServiceNow Community,
I have a couple of questions regarding ATF:
When we open any 'Test' in ATF, there are related tabs named 'Records Modified' and 'Mutually Exclusive.' Could someone explain what these two tabs represent? In some of my ATF, I got some data captured in this tab
How can we Stop the rollback of the operations performed through ATF? I want to Stop the Rollback? Can we stop this?
Thanks in advance for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2024 08:25 AM
Hi @Ujjwal019
First question:
The Records Modified tab lists all the records that have been modified by the steps in the test during execution. This helps track the database changes made by a test. It is useful for ensuring that the test behaves as expected and to know exactly which records are affected when a test runs. Its purpose is to track which records have been created, updated, or deleted by the test steps.
Here is the example:
If the test includes a step that creates an incident or updates a user's profile, the incident or user record would appear in the Records Modified tab.
The Mutually Exclusive tab indicates which tests should not run concurrently with the current test. If two tests are marked as mutually exclusive, they will not run at the same time to avoid conflicts or data corruption. The purpose is to prevent concurrent test execution that could interfere with one another, especially if they modify the same records or system states.
This is particularly important in situations where running tests simultaneously might lead to inconsistent test results or errors.
You can define mutual exclusivity in ATF by specifying which tests should be exclusive to others. This helps with test planning and prevents unwanted interactions between tests.
Second Question:
No you can disable the rollback.
*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
*************************************************************************************************************
Regards
Shaqeel
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel