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

Sorting Test Suites in RPE

 Exporting Test Suites and their associated content using a test plan number but the export order of the suites seem to be random. Does anyone know what it's basing this sorting order from and how to override that order? Exporting from QM using RPE. 

0 votes

Comments

 I have added the template that we are using for reference. 




One answer

Permanent link

You cannot add an elevated attribute (Special Attrbute) at feed/entry/content/testsuite for testplan/@href or testplan/id.

Hence you need to use fields filtering capability provided by RQM's reportable API:
First add the query feed/entry/content/testplan, sorted by feed/entry/content/testplan/webId.
Add a Data Source Configuration element for TestSuiteFeed data source. Set its URS as following:
var pos=identifier.indexOf(/testplan/);
var configURI=identifier.substring(0,pos);
configURI=configURI + "/testsuite?fields=feed/entry/content/testsuite[testplan/@href='" + identifier + "']/*"
configURI;

Now if you use feed/entry/content/testsuite query (from TestSuiteFeed data source), the test suites are sorted by testplan number (webId).

Attaching the screenshot of sample template: 

0 votes

Comments

We only have one test plan number so we are not really sorting the test plan - just the suites under it.  

 I have added the template that we are using for reference. 
https://www.dropbox.com/s/4i7589qc8afs8vd/RPE_Template.dta?dl=0 

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
× 12,014

Question asked: Nov 10 '20, 1:59 p.m.

Question was seen: 1,707 times

Last updated: Dec 14 '20, 12:00 p.m.

Confirmation Cancel Confirm