ATF tests backup and restore

PhoenixMing0912
Giga Expert

Hi all,

We are going to do instance copy in these days.

ATF tests may get lost during the copy so that we want to do backup.

I can think of two ways:

1, Backup to local and restore, for this option, there are two branches:

a, Backup test itself and restore

b, Add test to update set, backup update set and restore

2, Backup to another instance

Anyone can help?

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Our recommended best practice for preserving tests during a clone is to move them like any other development into your productions instance (but don't run them there) so they get cloned down with the rest of your production instance. 

View solution in original post

6 REPLIES 6

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Our recommended best practice for preserving tests during a clone is to move them like any other development into your productions instance (but don't run them there) so they get cloned down with the rest of your production instance. 

Thanks for your advice.

Actually, our tests are running in dev instance and unfortunatelly we don't have the chance to move them to production instance.

Do you suggest that we move ATF tests to another instance say A, after cloning, we restore ATF tests from A?

 

If you can't move them into prod then you'll need to back them up via update sets or source control. I'm not sure it matters much whether you have those update sets backed up locally, in another instance, or both. 

Backup locally or move to another instance are both accepted, could you give some documentation regarding to "back them up via update set or source control"? I have tried to export some XMLs, but I think the test content is not inside and neither I know how to import the XML.