Migrate schemas and XEngines

There are two types of migrations during a Tricentis Tosca upgrade:

  • A schema migration updates your repository database schema to the latest version.

  • An XEngine migration updates existing Standard subset Modules and their connected TestCases to the latest version.

You may not need both types of migration every time you upgrade Tricentis Tosca.

Before you start

You can do migrations manually or, if you use the Tosca Administration Console, directly in the console.

However, the Tosca Administration Console is part of Tosca Server. If you want to migrate via console, you need to perform a few preparatory steps first:

Other things you need to consider:

  • Migrations run on the repository version of all objects. Make sure that all users have checked in their local changes before you migrate. If you migrate objects that are checked out by other users, you lose all local changes.

  • Migrated schemas, Modules, and TestCases are not backward compatible. You can't revert a migration. If you migrate and suddenly find that you need to go back to your earlier schema, you have to restore your backup.

Perform schema migrations

Tosca stores project data in a database, which serves as your repository. This database has a specific data structure, or "schema". If the schema changes between Tosca versions, you need to migrate.

Find out whether you need a migration

In a single-user environment, you don't need to perform schema migrations. Tosca automatically migrates when you open the workspace for the first time after the upgrade.

In a multi-user environment, you may need to perform schema migrations. Here's how to find out whether you do:

  • If you use the Tosca Administration Console, check the project's Version in the Projects Overview. If you see a , the project has an outdated schema. The Schema version in the header shows the schema of the latest Tosca version you've installed. That's the schema you need to migrate to.

  • If you don't use the Tosca Administration Console, check the schema version table. Compare the schema of your previous Tosca version to the version you upgrade to. If there's a difference, you need to migrate.

Trigger the schema migration

How you trigger the schema migration depends on whether you use the Tosca Administration Console or not.

Perform XEngine migrations

An XEngine migration updates existing Modules of the Standard subset and their connected TestCases to the latest Tosca version you've installed.

Keep the following things in mind: 

  • A Tosca version may have changed Modules, but still not need a migration. Not every change to a Module in the Standard subset requires an XEngine migration.

  • A migration doesn't automatically import any new Modules that we've added to the new version's Standard subset. To get access to these new Modules, you need to import the new Standard subset.

Find out whether you need a migration

The table in this section tells you which Tosca versions include changes that require a migration.

However, even if a version has these changes, you still may not need to do an XEngine migration:

Tosca version

Changes that require an XEngine migration

2023.2 LTS

None.

2023.1 LTS

None.

16.0 LTS

None.

15.2 LTS

None.

15.1 STS

None.

15.0 LTS

None.

14.3 STS

  • Excel 1:1 File Compare Module: changed value of ModuleAttribute Include Sheets to string.

14.2 LTS

None.

14.0

None.

13.4

None.

13.3

13.2

13.1

  • Receive Mail - Simple Module: new ModuleAttribute Number of Emails to examine.

  • Receive Mail - Expert Module: new ModuleAttribute Number of Emails to examine.

  • All TestData Modules that have the ModuleAttribute TDS type: changed ValueRange from <CATEGORY> to <TYPE>.

  • TestData - Expert Module: updated ValueRange for the Test data task ModuleAttribute: Create;ReadOnly;Find;Update;DeleteRecord;DeleteType;DeleteAll;ConsumeRecord;UnconsumeRecord;ConsumeType;UnconsumeType

Keep in mind that new Tosca versions include all changes from previous versions. Let's say you upgrade from Tosca 14.2 to 16.0. While 16.0 doesn't have changes that require an XEngine migration, 14.3 does. These changes are also in 16.0. Consequently, if you use the 1:1 File Compare Module extensively in your tests, you need a migration.

Trigger the XEngine migration

How you trigger the XEngine migration depends on whether you use the Tosca Administration Console or not.