Test Management - Auto populate Test Plan and Test Case in Report Defect Form

aladpereira
Mega Expert

Hello

I need to Auto populate the Test Plan[tm_test_plan] and Test Case [tm_test_case_instance] to the Report Defect[rm_defect] form which is in the Test case form. Attaching the screenshot for better understanding. Any idea in this?

Test Case Form:

---------------------------

report defect.jpg

Report Defect form:

----------------------------

Autopopullate testplan and case in defect.jpg

Thanks,

Alad.

1 ACCEPTED SOLUTION

dvp
Mega Sage
Mega Sage

This is how i added the query and it worked for me.


this.dialog.addParm('sysparm_query', 'description='+this._blockedReason+'^u_steps_to_reproduce='+this._testSteps);



One more important step to do while testing is clear your browser cache. What ever changes you made won't show up till you clear cache.



Hope this helps.


View solution in original post

5 REPLIES 5

howellm
Kilo Expert

I have my test defects auto generated based on the test failing and skip the manual report, when developer marks as ready to test again the user gets notified and then when test passes the defect is auto closed.