Skip to content

Setting up integrations

AI Test Case Generator currently supports integrations with TestRail, Zephyr and Xray. To set up an integration, go to the Manage your apps section and click the configure button for AI Test Case Generator (requires admin permission).

You can now enable the desired integrations by clicking the checkbox and filling in the integration details.


TestRail

Go to your account settings in TestRail and create an API key. Then go to the AI Test Case Generator config page, enable the TestRail integration and set the BaseUrl for your instance, the username and API key and save.

NOTE: The integration will look for templates to map the test cases to in TestRail. If you are generating classic step-expected result test cases, make sure you have the Test Case (Steps) template enabled for the given TestRail project. If you are generating BDD scenarios, make sure you have the Behaviour Driven Development template enabled for the given TestRail project.


Zephyr

Open the top right account menu dropdown in Jira, click the option Zephyr API Access Token and create a token. Go to the he AI Test Case Generator config page and enable the Zephyr integration, then set the API access token and save.


Xray

In Jira, go to Apps -> Manage apps -> Xray -> API Keys. Click on Create API Key and create the key. Copy the client id and client secret. Go to the AI Test Case Generator config page and set enable the Xray integration. Then paste the client id and client secret and save.


After saving the config, you can now configure your projects to use the integration as described on the previous page.