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

Conditional field based on status



In the “Add Result” page, I wish to set to failed a test case only if the “Defects” field is valorized and I wish to set to passed a test case ony if the “Defects” field is empty.

How can I do this?



Hi Giovanni,

Thanks for your posting! That’s not directly supported at this point and we would also usually advise against such strict rules. While I understand the use case, sometimes you still might want to add a defect AND set the test result to passed or add a failed result without a defect and it’s usually better to make this a guideline instead. There are some options to implement this though and this would require adding a custom JavaScript/UI Script that handles the logic: