Hello,
Is there a way to add in the email subject if a test case is failed?
I know we can use $(totalFailed) but I want the subject to include FAILED if $(totalFailed !=0).
Is there a way to do that?
Hello,
Is there a way to add in the email subject if a test case is failed?
I know we can use $(totalFailed) but I want the subject to include FAILED if $(totalFailed !=0).
Is there a way to do that?
You can use a test listener to grab the status of a testcase and set a global variable value accordingly.
So, in your testcase, use that Global for the status.
How do I do that?
by reading the docs about test listeners and searching the forum for clues?