Forum Discussion

ddas_zaloni's avatar
ddas_zaloni
New Contributor
9 years ago

How can I generate reports from command line in Excel?

I'm trying to use the command line tool to run SoapUI Pro tests and also generate test results in Excel. How can I go about it? Right now my solution is to add steps in each of my test cases so that the report gets generated either way (when I run it via command line or UI). But this method seems repetitive. Any advice?

  • This should be possible through - (F) flag in command line testRunner feature as below,

    -F  - Specifies the format of the exported reports. Usage: -F<FormatName>. Supported formats include PDF, XLS, HTML, RTF, CSV, TXT and XML. If the parameter is not specified, PDF is used. 
    To export results in several formats, separate them with commas. For example, -FPDF,XML,CSV. 

     

    Please check here for more information - http://readyapi.smartbear.com/features/automation/testrunner/cli

     

    Thanks,

    Kondasamy

  • kondasamy's avatar
    kondasamy
    Regular Contributor

    This should be possible through - (F) flag in command line testRunner feature as below,

    -F  - Specifies the format of the exported reports. Usage: -F<FormatName>. Supported formats include PDF, XLS, HTML, RTF, CSV, TXT and XML. If the parameter is not specified, PDF is used. 
    To export results in several formats, separate them with commas. For example, -FPDF,XML,CSV. 

     

    Please check here for more information - http://readyapi.smartbear.com/features/automation/testrunner/cli

     

    Thanks,

    Kondasamy