Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Cannot set template for test case added automatically


#1

Hi

I have a ton of test cases written in gherkin and I want to have them kept in testrail - since I have written a tool to do it for me however when a test case is added it seems that “template_id” field of add_case request seems to be lost and a default template is set


#2

Hello gczech,

Thanks for your post! Can you confirm the TestRail version you are using? The reason I ask is that the template_id request field would only be supported in TestRail 5.2 and later versions, so you could be running into this issue if you’re using an older version. It’s also possible that the template you’ve created isn’t enabled for the project, and you can check this under Administration > Customizations (just edit the template and check the project list). Hope this helps!

Regards,
Marco