How to move ATF test cases from one instance to another instance without updateset

MOULALI PINJARI
Tera Contributor

How to move ATF test cases from one instance to another instance without updateset

4 REPLIES 4

Aman Kumar S
Kilo Patron

You can refer to below proposed solution by Brad:

https://www.servicenow.com/community/developer-forum/migrating-atf-suite-and-tests-between-different...

 

Best Regards
Aman Kumar

Ankur Bawiskar
Tera Patron
Tera Patron

@MOULALI PINJARI 

It's simple.

Create an update set in correct scope and capture the tests and test steps in update set and migrate to another instance.

What's the challenge faced? This should happen OOB.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

If you do not want to use update set then you can move them using export and import xml.

 

First you will have to export the Test:-

 

Saurav11_0-1668493268395.png

 

Then you will have to export the test steps:-

 

Saurav11_1-1668493307400.png

 

Then in the other instance again first you will have to import xml of test first:-

 

Saurav11_2-1668493357065.png

 

Then you will have to import xml of test steps:-

 

Saurav11_3-1668493401128.png

 

 

Please mark my answer as correct based on Impact.

Community Alums
Not applicable

Moving the ATF from one instance to other instance via XML is not working. Its just creates the test case without any test steps. Please suggest is there any other way to move ATF test case from one instance to other without update set.