Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Create RQM report Template using RPE

 Hello,


I am new for RPE with RQM reporting ,My scenario is that I want to create new RQM report template for showing how many test cases are "passed","failed" with attached requirements from DNG but which schema I will add in RPE datasource file for RQM?
Please give a suggestions on above scenario 
Thanks in Advance.

Regards,
Amruta

0 votes



2 answers

Permanent link

Hi Amruta,

If you are generating Testcase report, then the data source (resource) is testcase.
https://jazz.net/wiki/bin/view/Main/RqmApi

You can count the number of testcases by using (internal) variable.

1. Create a variable named as Count (or any) and assign 0 as default value.
2. You need to define the script into an element "Assignments" property that you want to count the testcase.
 
 Simple code would be : Count = parseInt(Count) + 1;
 
 * RPE recognises your variable value as String so you need to explicitly change the type of value as integer.
 
3. Allocate your variable into "content" property of element you wish to display the value - it will look like <variable Count>
 
Then you will be able to see the total number of testcases.

Note: It is recommended to ask one question per one post. Then you will get more chance to get answer.

0 votes

Comments

Hello Kenji ,

Thanks for response,
I have created report using RPE but how to deploy it in RQM,
I have followed following steps:
Create report resource-> browse RPE report ->create report from report resource,
But after deployment, report wants mandatory parameters in report, please give me suggestions on same ,what parameter i will pass?
  


Permanent link

Hi Amruta, check if JRS is installed in your envrionment.
Such counting can be easily done with Report Builder.

greetings georg.

0 votes

Comments

Thanks Georg, But requirement is that create  report using RPE for export purpose

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 332
× 218
× 116

Question asked: Feb 23 '18, 1:53 a.m.

Question was seen: 2,949 times

Last updated: Mar 14 '18, 8:50 a.m.

Confirmation Cancel Confirm