ATF - Not roll back changes after testing?

lengochoangminh
Kilo Contributor

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

10 REPLIES 10

Abhishek Raj3
Tera Guru

Hi Minh Le,



Could you please elaborate a little bit on your requirement ?


What exactly you want.



Thanks,


Abhishek


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.


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


Abhishek Raj3
Tera Guru

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.