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

Update_plan_etry API does not allow adding new test cases?


#1

Hi,

I’m using TestRail APIs as part of our automation script at the moment.
The way that we are setting this up is that we create a test plan, and add plan entries based on the configuration.
However, I am experiencing the issue on adding new test cases into existing test plan entries.

Does TestRail API allow us to dynamically add new test cases into test run inside test plan?

Thanks,


#2

Hi James,

Thanks for your posting. Yes, update_plan_entry also lets you update the case selection but only for the entire plan entry. If you have overridden the selection for the runs insides the entry (e.g. configurations), then the case selection on the entry level wouldn’t apply and wouldn’t be updated. Do you use configurations with add_plan/add_plan_entry?

Cheers,
Tobias