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

Test case creation using API for multi-suite project

When I use the API to create a test case under a section for a multi suite project I get an error TestRail API returned HTTP 400 (“Field :custom_automated is a required field.”).

In mu API call to create the test case I’m passing in the title and the section ID as per documentation here. http://docs.gurock.com/testrail-api2/reference-cases

It seem to work fine if the project is a single suite project. Error is thrown if it is a multi-suite project.

What is the custom_automated field? There is no mention of it in the documentation. What is wrong here.

Thanks,
Chaminda

Found the cause for this. Someone has added a custom field to the project called “automated” and made it a required field. The automation was not updated to reflect this change, causing the error in creating a test case because there is no value for the required field. Resolved