Import Test Documentation from TestRail

Import a TestRail Project

  1. Open a project and go to project settings.

  2. Switch to the Import tab and select TestRail XML.

  3. Drag and drop your .xml file or click Browse to upload it using your file explorer. You can upload multiple files simultaneously and monitor the upload process.

TestGear supports standard types of TestRail XML import files. You can import tests with checks, expected results, and attachments.

Import Attachments

Before you start, make sure that you have enabled the API requests in your TestRail system. To do that, go to Administration > Site settings > API, select the Enable API checkbox, and click Save settings.

  1. Select the Import attachments checkbox under the file upload field.
  2. In the drop-down section, specify the following:
    1. Your TestRail system URL

    2. Your login in the TestRail system. Use your email address associated with the TestRail account.

    3. An API key used as a password to your account. To generate an API key in TestRail, go to profile settings, click Add key, specify the name of the key, click Generate key > Add key > Save settings. Copy the key and paste it into the respective field in the TestGear import settings.

  3. Click Import.