Quick Import using TestRail | BrowserStack Docs

Quick Import data using TestRail

Set up BrowserStack Test Management by quickly importing projects and test cases from TestRail.

Prerequisites

Quick Import from Dashboard

You can do a Quick Import of TestRail by selecting the Quick Import option on top-right of the dashboard.

Also, you can do a Quick Import from TestRail once you have created a project in the dashboard.

You can import TestRail data by entering API tokens and establishing a connection.

Provide TestRail details and test connection

  1. Enter your TestRail Email Address.
  2. Enter your TestRail Host Name or web address. For example: https://abcd.testrail.io
  3. Enter your TestRail API Key.
    • You can find TestRail API Key in the mysettings section of your TestRail web address, such as https://<testrail-host-name->/index.php?/mysettings.
  4. Optional: Enter your TestRail Password.
  5. Click Test Connection to verify the connection with provided details.
  6. Click Proceed to save and establish the connection.

Confirm import

Before starting the import process from TestRail into Test Management, review the following settings carefully. These choices will impact the handling of your test cases, test runs and test plans and the overall success of the import:

  1. Choose whether to retain existing Test Case IDs:

    • Keep Retain Test Case IDs from TestRail while importing to Test Management selected to use the original IDs. This option could cause import failures if there are duplicate IDs.
    • Uncheck Retain Test Case IDs from TestRail while importing to Test Management to allow Test Management to generate new IDs for all test cases. This is the recommended option to avoid import failures.
  2. If you want to import TestRail’s test runs and milestones, check the Import Test Runs & Test Plans box.

  3. Choose the TestRail projects you want to import.

  4. Click Begin Import to start importing.

After completing these steps, the selected TestRail projects will begin importing into Test Management.

View and manage Import Logs

After confirming your import settings and initiating a TestRail import, you can track its progress and review the outcomes of current and all previous imports from the Import Logs tab. This centralized log helps you stay informed about ongoing imports and maintain a historical record of all completed or failed attempts, ensuring you have the details needed for troubleshooting and analysis.

Key features of the Import Logs:

Import progress

You can check the import progress on the All Projects page and click View Details to check import progress in the Quick Import detailed view.

If required, you can also Cancel the import process from the Quick Import detailed view.

After the import completes successfully, click View Report to check the result of the import process.

TestRail to Test Management mapping

When you perform a quick import from TestRail, each TestRail entity converts to a corresponding Test Management entity as per the following mapping.

TestRail Test Management
Test Suite Main folder
Section Sub-folder
Test Case Test Case

Email notification

An email notification is also sent to your registered email ID when the Quick Import process completes successfully.

Quick Import or CSV import saves email addresses of unregistered users and automatically assigns the associated test cases and test runs when they register or login to Test Management.

Troubleshooting the TestRail Quick Import

Have you encountered an error, or is your import stuck? Find solutions to the most common problems in our TestRail Quick Import troubleshooting documentation.