Unable to integrate Cypress with testmanagement tool

Is there any way to integrate Cypress test cases with any test management tools (Like Testlink, testrail, or qtest)?

I want to perform automation testing and try to report the results to test management tools like Testlink, testrail, or qtest. Is there any way to do that?

Stack Overflow Asked by muller on November 22, 2021

2 Answers

2 Answers

Finally, after some exhaustive tryings, I finally figure out that cypress and testrail can integrate. @testworks's answer works fine but you have to run the test using the terminal, not test runner. to run the test, use the following command.

.node_modules.bincypress run "your spec.js" --browser = browser name. With this command, you can run the specs as well as you can see your test using browser.

Answered by muller on November 22, 2021

You've mentioned you are unable to integrate Cypress with a test management tool - have you tried already?

An NPM module, cypress-testrail-reporter, is available for TestRail - there may be more modules available.

Usage is pretty straightforward. You first define the connection details in your cypress.json:

"reporter": "cypress-testrail-reporter",
"reporterOptions": {
  "domain": "<your_testrail_server_url>",
  "username": "<username_associated_with_api_key>",
  "password": "<use_an_api_key_here>",
  "projectId": <project_id_as_int>,
  "suiteId": <suite_id_as_int>,

Then you need to annotate your test cases with the Case ID from the TestRail test case. The ID can either be added to the start, or the end of the Cypress test title.

This lets the plugin know where to submit the results after each test is executed.

it("C1234 Puts the lotion on its skin", ...
it("Or else it gets the hose again C5678", ...

Answered by testworks on November 22, 2021

Add your own answers!

Related Questions

Why are the spacings in the decipher incorrect?

2  Asked on January 4, 2021 by iliketocode123465


How to play more than one stream at once using soundio?

1  Asked on January 3, 2021 by 010110110101


Units and Measurements in Swift

1  Asked on January 3, 2021 by tick_hoges


Count files in directory (python)

0  Asked on January 3, 2021 by user14606934


How to set the “Resource root URL” in Jenkins

1  Asked on January 3, 2021 by hephaestus


Write Pandas DataFrame to chronologic excel sheet

0  Asked on January 3, 2021 by anna-bleha


How to determine the number of negation words per sentence

2  Asked on January 3, 2021 by user14289862


Scala getClass.getResource() returning null

4  Asked on January 3, 2021 by tower


Use background image instead of border

1  Asked on January 2, 2021 by user3808307


Appended messages collides with previous data

1  Asked on January 2, 2021 by nancy-mooree


My gRPC-Test Project just work on localhost

1  Asked on January 2, 2021 by blindmeis


Ask a Question

Get help from others!

© 2021 All rights reserved.