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

Passing Node.JS run params via Travis CI API

I'm trying to setup a nice and customizable testing environment for my company using TestRail + Travis CI + a Selenium-based testing app. I want to be able to use the Travis CI Api v3 to trigger the Node.JS app to run. Ideally I'd be able to specify…
MaylorTaylor
  • 4,671
  • 16
  • 47
  • 76
1
vote
3 answers

How to add my comment in Test Result in the TestRail using testrail-api-java-client

I am migrating to maven and Now it has dependency com.codepine.api
ChanGan
  • 4,254
  • 11
  • 74
  • 135
1
vote
0 answers

Jest: Is there a way to return a pass or fail value from a Jest expect?

I've been working on integrating TestRail with my test automation and had a question. I have everything hooked up and working through the TestRail API but I don't really know how to return or save the pass/fail value of my test so I can mark my test…
1
vote
0 answers

Ability to do run test suite in single npm script to generate both testrail and mochawesome reports

Currently I have two separate scripts: "p1_testRail": "cypress run -r cypress-testrail-accumulative-reporter {arguments} {test_suites} --headless" "p1_mochawesome": "cypress run -r cypress-multi-reporters {arguments} {test_suites} --reporter…
Meg
  • 55
  • 7
1
vote
1 answer

Selenium JavaScript - How to set test id in Jest test cases

I want to set an id to each test in Jest so that I can uniquely identify them. It is something similar to @TestParamters/ @Parameters in TestNG. Here - https://www.gurock.com/testrail/docs/api/reference/results#addresult . If you look the end-point…
Pritam Patil
  • 90
  • 1
  • 12
1
vote
1 answer

How to add all test run inside a test plan in test rail triggered from cypress

We are using Cypress to automate UI test cases. We have recently integrated the cypress framework with test rail. It is able to create test run in test rail. Issue: We want all test run should go inside a test plan or any suite or any folder.…
1
vote
0 answers

C# Specflow+ How to run some code ONCE before the threads are created in .netcore for TestRail API

I have written a Test Automation Framework in C# that uses Specflow with SpecFlow+ as the Runner. I am using TestRail API to write the results to TestRail. I want to create a new test run when I start the automation tests and then write all of the…
Matt
  • 773
  • 2
  • 15
  • 30
1
vote
1 answer

TestRail integration with selenium using c#

I am new to TestRail tool and wanted to integrate all my UI Selenium automation test cases with TestRail. I have gone through the API Bindings of TestRail but they are only meant for API test cases. Can someone please please give me any idea to…
1
vote
2 answers

Test rail API throwing 401 Unauthorized error even with correct authorization

I'm trying to establish a connection to test rail and passing the correct authorization but it throws 401 Unauthorized error. The same code was works on a different test rail but is not working with new instance. I have enabled API integration in…
Varun Prakash
  • 21
  • 1
  • 2
1
vote
1 answer

How to pass custom query parameters in Retrofit?

Trying to implement a custom solution for interacting with TestRail API(http://docs.gurock.com/testrail-api2/accessing), I'm kind of stuck in the following situation: Api calls are made like this: /index.php?/api/v2/get_case/1, meaning that after…
mbob
  • 590
  • 1
  • 4
  • 22
1
vote
0 answers

Testng + testrail integration. Failing at @BeforeMethod

I am trying to integrate testng with testrail but I am having a problem. Below the code is in my BaseTest. If I run testng on BaseTest it works and I see my result in testrail. If I move onboardingtest, changingToTest, and changingToAllListings to…
Jackie Ngo
  • 11
  • 1
1
vote
1 answer

How to connect Selenium Cucumber results to TestRail using JUnit

My issue is mainly to know how to populate TestRail results after Cucumber scenarios are run. I'm trying to have the results from my JUnit tests run set on an existing TestRail run. I have the APIClient and APIException as per this project. I then…
Francislainy Campos
  • 3,462
  • 4
  • 33
  • 81
1
vote
1 answer

How to run Java autotests from TestRail

The all that I've found about integration of autotests and TestRail is that Java TestRail API can update test results in TestRail. But I want to have integration in both ways. I want to run Java autotests from TestRail. Is there such possibility ?…
Igor Vlasuyk
  • 514
  • 2
  • 10
  • 22
1
vote
2 answers

Html-testrail report in testcafe not coming correct

I downloaded testcafe-reporter-html-testrail and using this in my testcafe project. If I am giving a custom name to the report then it's failing to save properly, i.e report is not complete, its almost blank with few lines...However, if I am NOT…
TS0306
  • 177
  • 12
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