14. Xray Integration
Subject7 supports Xray integration by connecting the platform to Xray and syncing Xray test case executions to Subject7 test case executions.
In order to integrate, please follow these steps:
Hover over Administration menu and click Project Management
Click Integrations tab. You will see the following options:
On Xray, navigate to Apps > Manage your Apps
Click API Keys from the left panel
Click Create API Key
Enter the username and click Generate
The Client ID and Client Secret will generate. Copy each of them
Back on the platform, click Enabled to allow using the input boxes and paste the Client ID and Client Secret. Once finished, click Save
Navigate to the Subject7 test case you would like to link to an Xray test case and click Integrations link. The following window will appear:
Enter the XRay Test Case Ticket Key and Test Plan Ticket Key in the fields and click Save. For example, here are some ticket keys as shown in Kanban Board:
Click Save to save your test case
Your executions will now be synced with XRray if you run the test case in the cloud (either independently or through an execution set). Afterwards, a test execution will be created on XRay to indicate one of the below statuses:
Subject7: Queued - Xray: ToDo
Subject7: In execution - Xray: Executing
Subject7: Completed/Failed - Xray: Failed
Subject7: Completed/Passed - Xray: Passed
To see the result of the execution, click Test Runs button on the XRay test case
If you used datasets in Subject7, they will be displayed by clicking Dataset icon in the Xray test execution
In order to see the execution details generated by the platform, click on the View Execution button
You will see the execution video, the logs and images (in case of failures) added in the Comment section
Â