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

Can we make one field dependent on other field in adding test results


#1

Hi,

Can we make one field dependent on other field in adding test results.

"Defects” field is required as mandatory field only when the “Status” field is set other than “PASS”. Is this possible??

Thanks,
Thanigai.


#2

Hello @tvelan23,

Thanks for the post! Currently, there are no out of box settings to make a one field required based on input provided in another field, such as a defect when a test does not pass.

However, you may be able to accomplish this with TestRail’s UI scripts feature with knowledge of HTML/CSS/JS. If you’re interested in learning more about the UI scripts feature you can do so here:

http://docs.gurock.com/testrail-custom/uiscripts-introduction

You may also be able to find similar conditional scripts provided by other users on our forums and use these as a foundation for your script.

Thanks,
Jon


#3

Thank you @jon.reynolds