Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Passing Parameters from SilkCentral Test Manager to BIRT.

Passing Parameters from SilkCentral Test Manager to BIRT.

Problem:

Passing Parameters from SilkCentral Test Manager to BIRT.

Resolution:

Passing Parameters from SilkCentral Test Manager to BIRT


SilkCentral is tightly integrated with BIRT RCP Designer to make it easy for you to generate reports for your test, build, defect, and requirement data.

After downloading a copy of BIRT RCP Designer, you can customize the core SilkCentral reports and add your own reports; see the related topics and the BIRT RCP Designer online help for details.

BIRT Report Designer

Can be downloaded from SCTM (Help->Tools-> BIRT RCP Report Designer)
Extract it to some directory and just start BIRT.exe
C:\birt-rcp-report-designer-\BIRT.exe


In this example we are going to pass parameters from SilkCentral Test Manager to BIRT.

In SCTM reports we define report parameters using the following syntax:

• ... ${Internal Parameter Name|Standard Value|Text Shown in Parameters Tab} ...

In BIRT you can refer to the parameters using a report parameter

• rp_


In this example we have a parameter in the SQL called reqProp_Priority_0 so with BIRT we need to refer to this as rp_reqProp_Priority_0





































To pass this parameter into the BIRT report and download the associated report template .rpt and open it in BIRT.

Right click on the "Report Parameter" and create a parameter with the syntax "rp_" as seen below.






































Now we have to create a data set parameter and bind it to a report parameter. Double click the default Data Set "ReportData" to open the "Edit Data Set" dialog. Click on "Parameters" and select "New…".

Enter a parameter name, set the direction to Input and set the default value to the report parameter we created earlier enclosed in "params["parameter"]. We can also navigate to the parameter via the
icon.
































Now insert the report parameter into the report and save.








































Once the report is uploaded to SilkCentral Test Manager we open the report and can view the parameter value.











































Related documents:


Old KB# 29628

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 20:38
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.