Mantis Bugtracker          
testlink.org

View Revisions: Issue #7053 All Revisions ] Back to Issue ]
Summary 0007053: Possibility to get reports in xls format via wget
Revision 2015-04-12 15:22 by fman
Description Using the access link (that can be get on the reports menu), for the reports that already have spreadsheet as output format, seems that can be useful provide a way to get it (with default settings) using some sort of automation.
This automation can be done using wget (see example below).
If enough to add as last parameter &format=3
(3 is code for FORMAT_XLS)

EXAMPLE for Test result matrix
ATTENTION: apikey belongs to installation where test were done.

Tested on OSX, ATTENTION with & that have to be escaped for bash scripts.
(that's why you see \& and not only &)
wget -O matrix2.xls \
http://localhost/development/github/testlink-code/\ [^]
lnl.php?tproject_id=287\&apikey=2b6ef893b7834bc93cce15d92fd25b05212038f61\
dc293ddb95ce0e34bc20c4b\&tplan_id=291\&type=results_matrix\&format=3
Revision 2015-04-12 15:18 by fman
Description Using the access link (that can be get on the reports menu), for the reports that already have spreadsheet as output format, seems that can be useful provide a way to get it (with default settings) using some sort of automation.
This automation can be done using wget (see example below).
If enough to add as last parameter &format=3
(3 is code for FORMAT_XLS)



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker