It's all about the answers!

Ask a question

RQM Section content not coming properly in RPE Report


sunil kumar (175) | asked Apr 28 '21, 5:15 a.m.
edited Apr 28 '21, 5:19 a.m.
Hi
Scenario -1
while generating rpe report from RQM - the section content are not coming properly.
content:
1.IBM CLM
2.IBM CCM
3.IBM RQM

while generating the report i m getting
IBM CLM
IBM CCM
IBM RQM  
here numbers are missing in the RPE generated document

Is there any solution for this to add numbers

Scenario -2 
IN RQM section
there are thousands of test cases cretaed with the section contents like

1.IBM CLM 2.IBM CCM 3.IBM RQM

while generating the report if an number plus dot (1.) comes it should start with a new line not as a complete paragragh  is that possible?

Based on this i have created the template:

Use the following JavaScript Code within $6:
if (term == "TC No.") {
_tcNo = value;
}
if (term == "Module") {
_module += "," + value;
}

Use the following JavaScript Code outside $6: //Store testcase data in array
if ( _tcdata == ""){
   _tcdata = [];
}

var obj = new Object();
obj[ "webId"] = webId;
obj["precondition"]=com.ibm.testcase.section.precondition;

_tcdata.push( obj);

//reset the category values
_tcNo = "";
_module = "";


if ( _tcdata != "")
{
  var obj = _tcdata[_i*1];
obj["precondition"];
}

all the section details are stored in obj form
Please refer to the link given.

kindly provide the solution for scenario 1 or scenario 2.

Thanks in advance.

Regards,
Sunill





Be the first one to answer this question!


Register or to post 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.