Questions tagged [testrail]

TestRail is a comprehensive web-based test case management software to manage, track and organize software testing efforts.

200 questions
1
vote
1 answer

"ValueError: option names {'--testrail'} already added" when starting autotest with pytest-alure plugin

Trying to setup pytest-testrail plugin. When I start test run using --testrail --tr-config=path/to/config.cfg param, it returns error ValueError: option names {'--testrail'} already added im using appium+pytest+allure. It works well for me, but now…
Anton A
  • 13
  • 1
  • 5
1
vote
0 answers

How to send test result to testrail if test failed on any step?

Using our company framework to send testrail results It was easy with api tests Example rail = TestRail(project_id=23, debug=True, debug_run_id=484) def test_payment_system(self): payload = {"system": "qiwi"} response =…
1
vote
2 answers

Custom TestRail reporter for TestCafe not grab test results

I have custom TestRail (TR) reporter set and working with standard WDIO project. Basically it gets TR parameters in Json from CI, that grab test results and POST them to TR via 'testrail-api'. Reporters used: reporterOptions: { outputDir: …
1
vote
0 answers

TestRail connection timing out due to a server issue [Status Code 500]

I have a script that tries to connect to TestRail and it had been working for a while. Recently, the script has been timing out while trying to perform a GET request: INFO:root: {"message":"HTTPSConnectionPool(host='testrail.zooxlabs.com',…
1
vote
2 answers

TestRail Integration with XCUITest

@Dimu4 I will really appreciate if you can add more details on the integration. I am trying to do the same with XCUITest, where I am trying to integrate with Bots so that for every test run I sent the test result to TestRail. My questions: how do…
M M
  • 11
  • 2
1
vote
1 answer

How to bulk update test run results with test case IDs (TestRail Java Client)?

How do I bulk update test run results with test case IDs using TestRail Java Client? Here is a sample bulk update request from API reference for add_results_for_cases(). { "results": [ { "case_id": 1, "status_id":…
the_prole
  • 8,275
  • 16
  • 78
  • 163
1
vote
1 answer

Create Post Api in Java for Test Rail

Im trying to create a java post request to create a test run on test rail, however it doesn't seem to be working heres my code: public class create_run { public JSONObject AddTestRunTest() throws IOException, APIException { JSONObject…
1
vote
1 answer

Get test run id from testrail to use with selenium tests

I am currently using test rail in conjunction with Selenium testing but the issue is that I want to be able to automatically update the test run id every time I run a full regression. My tests are broken into different sections (login, registration…
1
vote
1 answer

Can i send information to testrail for selenium when my test runs its course

I am trying to send my tests to testrail from selenium but im not using an assert to end the test, i just want it to pass if it runs to completion? Is this possible? Also is there any examples of how this working in the code? I currently…
1
vote
1 answer

How to send my test results from selenium to testrail

I am having trouble sending my test results from selenium to testrail. I cant seem to figure it out using the paperwork provided. I am currently using this: public class login_errors extends ConditionsWebDriverFactory { public static String…
1
vote
1 answer

TestRail: how can I create a separate test plan from tests that failed during some test plan execution?

I have created a test plan consisting of some number of test cases. The QA has executed this plan. The results are in TestRail and I see that some tests were skipped and some tests failed. What I want is to create a special test plan to account for…
MiamiBeach
  • 3,261
  • 6
  • 28
  • 54
1
vote
2 answers

Testrail Python client - SSL cert error

I am implementing Python client for Testrail in my project (http://docs.gurock.com/testrail-api2/bindings-python) I am running an API call "get_test" and I am receiving an error as below File "playground.py", line 10, in case =…
slysid
  • 5,236
  • 7
  • 36
  • 59
1
vote
3 answers

How to integrate TestRail with Jest tests?

I'm running Jest integration tests on Jenkins and I want to integrate them with TestRail in order to automatically put test results to TestRail. In this way I will know easily how many tests are passed/failed? Does anyone tried that?
pensacola
  • 11
  • 4
1
vote
1 answer

How to integrate Testrail with Karate

Is it possible to integrate karate with testrail? I am using below code to call the testrail but not sure how to send the results to testrail for each scenario. @AfterClass public static void after() throws Exception { APIClient…
p.kop15
  • 35
  • 4
1
vote
2 answers

Testrail API Ruby add_result_for_case error

I am executing the code below as a cucumber step. The test case id is C70. I tried a run ID and it gave the same error. The code and error are below - ----------------- require 'testrail-ruby' client =…
KWC
  • 71
  • 10