It's all about the answers!

Ask a question

How to add 'Test Script Steps' to a 'Test Case - Test Script' RPE report ?


Christophe Lucas (86234948) | asked Feb 19 '14, 7:27 a.m.
edited Feb 19 '14, 7:56 a.m.
I need to create a Report that lists: Test Case - Associate Test Script(s) - Test Script Step(s).

Because Test Script Steps are not available in RRDI (see this post), I need to use RPE.

The picture below shows exactly what I want to generate, and where I am so far ...

In a nutshell, getting inspiration from this great CLM2012 Report Workshop, I created a RPE report with:
(1) 1 Table having 1 Container which uses the 1 RQM Data Source Schema: feed.xsd.
In this table, I have 1 row per Test Case (feed/entry/content/testcase), column1= Test Case Title, column 2 = Test Case Description.
(2) In column 3, I wanted to display all Test Scripts associated to the 1 Test Case.
For that purpose, I involved a 2nd RQM Data Source Schema: qm.xsd, i.e.:
I used a Container on feed/entry/content/testcase/testscript from feed.xsd.
Within the Container, I used a 'Data Source Configuration' (Target source = qm.xsd, Inherited Data Configuration = feed.xsd), and added another Container using the qm.xsd where I dropped the testscript. The table row cell contains the qm.xsd testscript/tile
(3) I don't know what to do next to display the Test Script Steps of each Test Script in column 4.
Should I involve a 3rd Data Source (e.g. testscript.xsd), or not ... if Y, where, if N, what should I do ? - see ? mark in picture.

Thanks


Accepted answer


permanent link
Subramanya Prasad Pilar (4.6k16) | answered Feb 19 '14, 10:34 a.m.
You do not need 3rd Data Source for test steps. In testscript context (within $15), you can add a query testscript/steps/step and get the step details.
Christophe Lucas selected this answer as the correct answer

Comments
Christophe Lucas commented Feb 20 '14, 12:36 a.m.

Thanks Subramanya !

I screenshot below what the final RPE template and corresponding output look like.


1
Subramanya Prasad Pilar commented Feb 20 '14, 1:20 a.m.

Thank you. Is the RPE output correct? Do you want to modify it further?


Christophe Lucas commented Feb 20 '14, 3:55 a.m.

I slightly modified the above output to actually have a 4th column listing the Test Script Steps, as in picture below (copy to xls of the doc table RPE generated) ... basically that is what I was looking for, so I'm OK for now. Thanks again.


Cesar Sasaki commented May 20 '15, 6:58 p.m.

Hi

Can you please share your template?I'm trying to achieve the same excel.

4 other answers



permanent link
Michal Steinberger (181828) | answered Oct 28 '14, 7:55 a.m.
Hi there,
How can i get the template?

Thanks
Michal

permanent link
Sunil Mudikonda (112) | answered Dec 05 '19, 9:20 a.m.
Hi ,

I am having the same issue, all the other columns get printed but not the test steps.

If possible can you please share the template.

Many Thanks !
Sunil.

Comments
Subramanya Prasad Pilar commented Dec 05 '19, 11:30 a.m.

You can refer TestcasesWithTestscripts.dta under %RPE_HOME%\templates\RQM. It should be similar.


permanent link
Sunil Mudikonda (112) | answered Dec 06 '19, 3:08 a.m.
Hello Prasad,

I tried using the default template but still I see the same problem.



I see in the default template there is a 3rd data source used, is that requires, we wanted to print only the Test Steps.

Can you please let me know if any changes to be done for printing the test steps.

Many Thanks,

Regards,

Sunil.


Comments
Subramanya Prasad Pilar commented Dec 09 '19, 6:04 a.m.
What is the data source URL given for "RQM Feed" data source? You need to append "abbreviate=false" to the URL.

<projectAreaname>/testcase?abbreviate=false


permanent link
Sunil Mudikonda (112) | answered Dec 06 '19, 3:09 a.m.

Your answer


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.