Questions tagged [testrail]

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

123 questions
1
vote
1 answer

pytest-testrail rerun publishing

I am using pytest-testrail in order to publish some python test cases to testrail. I have a couple test cases that are flaky and use the "@pytest.mark.flaky" in order to rerun the test cases that fail. After the rerun, some test cases will pass…
kamakani
  • 11
  • 2
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
  • 4
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
1 answer

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
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
  • 6,481
  • 11
  • 56
  • 120
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

Parse json response to get parent/child dictionary

I have a list of jsons (that's originally response from TestRail API getcases) which I'm trying to parse. Here's a sample json: [ { "id": 1, "parent_id": null, }, { "id": 2, "parent_id": 1, }, { "id": 6, "parent_id":…
Mahyar
  • 817
  • 2
  • 10
  • 28
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
  • 4,288
  • 6
  • 28
  • 51
1
vote
1 answer

How to integrate karate with testrail

I am new to Java and using karate for API automation. I need help to integrate testrail with karate. I want to use tags for each scenario which will be the test case id (from testrail) and I want to push the result 'after the scenario'. Can someone…
NRT
  • 105
  • 1
  • 10
1
vote
2 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
  • 3
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 2
3
8 9