ATF - Not roll back changes after testing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2017 01:44 AM
Hi There,
ATF rolls back changes after testing as default but in some cases, I would like to use the automation to create the testing data. Do we have any option to turn it off? keep the data created after running the ATF?
Thanks
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2017 03:47 AM
Hi Minh Le,
Could you please elaborate a little bit on your requirement ?
What exactly you want.
Thanks,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2017 04:02 AM
Hi, thanks for your answer.
My question is how I can turn off the roll back function of ATF?
E.g. I would like to create 10 users and want to use ATF to create them. But the problem is ATF rolls back and delete the created user after running. So how I can turn off the roll back function of ATF to keep 10 users created?
NB: It's just an example to describe my question - turn off the roll back function of ATF. I know we have another way to do that such as using Import Set, export/import the table.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2017 04:56 AM
At this point ATF has no means of turning off the roll back feature.
I invite you to open an enhancement request! Our product managers DO listen.
Enhancement requests: Tell us how you would improve the ServiceNow product
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2017 04:53 AM
Hi Minh le,
Generally in ATF we have step by step process once it is tested we can not roll it back. means once the user is created with your steps.you have to delete it manually or from background scripts.
Every time you have to run that Atf test runner for creation or testing the steps.
Thanks,
Abhishek
Please mark this response as correct and helpful via your post link (ATF - Not roll back changes after testing? ) to help others with the same question.