slreq.generateReport
Generate report for requirement set
Description
generates a report for the requirement sets specified bymyReportPath
= slreq.generateReport(reqSetList
,reportOpts
)reqSetList
using the options specified byreportOpts
and returns the pathmyReportPath
to the report.
Examples
Generate Requirement Report
% Generate a requirement report in Microsoft(R) Word% format for all loaded requirement sets% Get default report generation options structuremyReportOpts = slreq.getReportOptions();% Specify the generated report path and file namemyReportOpts.reportPath ='L:\My_Project\Reqs_Report.docx';% Generate the report for all loaded requirement setsmyReport = slreq.generateReport('all', myReportOpts);
Note
To generate reports in PDF and HTML formats, specify a.pdf
or a.html
file name as thereportPath
value.