Is it possible to generete two types of reports in the same testrunner session?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to generete two types of reports in the same testrunner session?
Hi,
We want to generate two types of reports in the same session in testrunner when running Jenkins. Is that possible?
E.g -R"Project Report,JUnit-Style HTML Report" -FXML
Best Regards
Mathias
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ecsmmek,
According to the Command-Line Arguments article, you can specify several formats by using a comma between them:
-F<args>
Specifies the format of the reports ReadyAPI exports.
Usage:
-F<FormatName>
. ReadyAPI supports the following formats: PDF, XLS, HTML, RTF, CSV, TXT and XML. If you have not specified the parameter, ReadyAPI will use the PDF format.
To export results in several formats, separate them with commas. For example:
‑FPDF,XML,CSV
.
The runner can ignore the
-F
argument depending on the value of the-R
argument. See the-R
argument description.
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi again,
I was more interested in if you can generate two types of reports in the same command line, as I wrote earlier. Is it possible to generate a Junit and a project report at the same time?
E.g -R"Project Report,JUnit-Style HTML Report"
Best regards
Mathias
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mahias,
Yes, it's possible to generate both types of reports at the same time. For this, you need to include these arguments:
* -j to generate a JUnit-style HTML Report
* "-RProject Report" -FPDF to generate a Project report
Example:
"C:\Program Files\SmartBear\ReadyAPI-2.6.0\bin\testrunner.bat" -a -j -fC:\Temp\report -g "-RProject Report" -FPDF "-EDefault environment" C:\Projects\readyapi-project.xml
Tip: you can easily generate the needed command line using TestRunner GUI:
Customer Care Team
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply, Natalie!
@ecsmmek, is this what you are looking for?
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes, that is the answer I've been looking for.
Thank you.
Bets regards
Mathias
