How to cont total test case, testcase fail in RPE
Can anyone help to get code of total testcase , total test case fail to count in RPE
|
One answer
You can use 2 (internal) variables (say tcCount and tcFailedCount) with default value set to 0. Use a JavaScript Code element to increment tcCount (without any if condition) and tcFailedCount (if result is Failed). You can use or print these variables after looping through the query.
Please refer RPE sample template RTC_WorkItems.dta, where fixed WorkItems and Total WorkItems are printed.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.