On add test result dialog I only want to make a field required if the test is in a particular state e.g. if the test is failed then the comment field should be required.
I have tried using the following:
with uiscripts.context.test.status to try and get the status of the result dialog, however this is unsuccessful. Any help appreciated. thanks as always