cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

There should be some way to make "Create Related Defect" mandatory in case of failed test case in test session in Test Result Editor.

There should be some way to make "Create Related Defect" mandatory in case of failed test case in test session in Test Result Editor.

There should be some way to make "Create Related Defect" mandatory in case of failed test case in test session in Test Result Editor.

3 Comments
VolkerEckardt
17-Peridot

Hi Kapil,

very good request.

One of my clients has created a trigger which validates as soon as you try to close the test session that any faild test case has a related defect attached to it.

Is this something which would fulfill your needs?

Volker

kjain-2
15-Moonstone

Hi Volker,

Yes you are right there is only single way "By Trigger".

But i want to check is there any better workaround or something OOTB, so as you replied i got my answer.

Can you help me little about trigger code if possible?

Thanks Volker.

Regards,

Kapil

VolkerEckardt
17-Peridot

Hi Kapil,

there is not exactly a script which does the job already, but there is one in standard available which i would use as a starting point.

Attached for you.AddDefectToTestCase.js