how to filter test plan
I have multiple types of test plans in RQM. These plans can be distinguished based on the initial few characters in the plan name. I have integrated RPE template for generation of reports from the project. When I run the report the window contains all the plans which becomes a large list for the user for selection. Is it possible to filter the list based on some regular expression or some editable list to filter the list? If yes, how to achieve this.
Accepted answer
Are you referring to "Select Value" modal to select a test plan? The entries here are based on the Request URL and Display values for the data source in RPE template (right click and choose Edit Configuration Metadata... in RPE Studio).
For example:
Identifier: feed/entry/id
Display: feed/entry/title
Request URL: ${public}/service/com.ibm.rqm.integration.service.IIntegrationService/resources/${projectAreaUUID}/testplan?fields=feed/entry/content/testplan[title='${userInput}']/*&wildcard=*
will result in the following window:
You can enter search text with wild card so as to filter the test plans.
As you cannot use variables while configuring metadata, you cannot filter out the entries automatically.
Comments
Hi Subramanya,
As suggested by you I am able to get the list but when I open the report, initially all plans are listed as * is being used. I just wanted to know that is it possible to have the filtered list at the startup of report itself. Like if I have multiple plans starting with DEV_A, DEV_B, DEV_C and so on, then if I put DEV_* initially in template then on opening the report it should show only these plans and no other plans.