Migrating action recordings after migrating Test cases with TFS Integration platform


While migrating test cases from one server to another using the TFS Integration Platform, you might notice that action recordings are not migrated.

The attached utility helps you to migrate action recordings from the TFS hosted service to an on premise server after the migration of the work items is done. It can be easily modified to migrate recordings from an on-prem to another on-prem server as well. The utility downloads the original action recordings from the source server and associates those with the migrated test case work items in the target server 

The utility downloads the action recording from the hosted service and creates a dummy test plan, test suite, adds the test cases which have an associated recording to this test suite, creates dummy test results and
associates the action recording with this test result .  This is is required because all action recordings need to be associated with a test result as well. Thus you might notice some additional test plans and test results which would be created after running this tool.

 

Prerequisites :

If you want to migrate from the TFS hosted service, you need to enable alternate credentials for it. See this blog post for details on how to do it.  

Usage :

FixActionRecording <Hosted Service project collection url> <Hosted service project name> <Hosted service alt-credential user name> <Hosted service alt-credential password> <On-prem server project collection url> <On-prem server project name>

Related :

Here is a blog posted which helps you to fix broken shared step links after migration.

 

FixActionRecording.zip


Skip to main content