I'm trying to integrate my automation tests with TestRail. I work with c#. I use the API of TestRail in my test project. I create TestRun manually and have testRun id and test case id. I have a problem when my test case is located in nested directories(in som test suites tree) not in the root of testSuites. Returned error message is:
TearDown : AutomationSport.Tests.TestRail.TestRailAPIException : TestRail API returned HTTP 400 ("No (active) test found for the run/case combination.")
But when my test case is in root directory, testrail integration works correctly and it set test case status in TesrRail correctly. How should I get a test case id in that case?