Ask a Question

How to generate report with testrunner.bat without over writing existing report files ?

_ivanovich_
Frequent Contributor

How to generate report with testrunner.bat without over writing existing report files ?

hi,

 

when i run testrunner.bat for each testsuite, it's just over writing report file.

how to modify parameter of testrunner to generate new files each time we execute testrunner?

how can i generate report in pdf format? i try .PDF in Reports formats, it does not work for me, there are only html format.

i'm using ready api pro version

 

Thank you

 

22 REPLIES 22
nmrao
Community Hero

Re: How to generate report with testrunner.bat without over writing existing report files ?

which version are you on?


Regards,
Rao.
nmrao
Community Hero

Re: How to generate report with testrunner.bat without over writing existing report files ?

Have you tried running from Ready! API ui also? Does it work as aniticipated?


Regards,
Rao.
_ivanovich_
Frequent Contributor

Re: How to generate report with testrunner.bat without over writing existing report files ?

yes it's over writing the existing report file each time i run testrunner from ready api

_ivanovich_
Frequent Contributor

Re: How to generate report with testrunner.bat without over writing existing report files ?

version = Ready! API 1.4.1-m-SNAPSHOT

_ivanovich_
Frequent Contributor

Re: How to generate report with testrunner.bat without over writing existing report files ?

so this problem is unresolved for me.

TanyaYatskovska
Community Manager

Re: How to generate report with testrunner.bat without over writing existing report files ?

Hi Davy,

 

You can specify the –f argument for each test run. It will identify a root folder where your report will be saved. You can use date/time of the test run in the folder name. In this case, each report will be saved to its own folder.

 

As for the other question about exporting reports to the PDF format, first of all, the –F argument (where you specify the exported format) is available only in the Pro version. Are you using SoapUI NG Pro? If you are, please note that the runner can ignore -F argument depending on the value of the -R argument. Please refer to the following online article for more information:

http://readyapi.smartbear.com/features/automation/testrunner/cli

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
_ivanovich_
Frequent Contributor

Re: How to generate report with testrunner.bat without over writing existing report files ?

Hi,

the documentation you are referring is only when we have Secure PRO ?

i have only Soapui NG Pro

THank you

TanyaYatskovska
Community Manager

Re: How to generate report with testrunner.bat without over writing existing report files ?

My bad. I've corrected the link:

http://readyapi.smartbear.com/features/automation/testrunner/cli

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
_ivanovich_
Frequent Contributor

Re: How to generate report with testrunner.bat without over writing existing report files ?

Hi,

thank you for the quick response.

i tried this simple testrunner.bat

The test is executing but nothing is created in C:\RESULTAT\login_test folder

 

cd C:\Program Files\SmartBear\ReadyAPI-1.4.0\bin\
testrunner.bat -FPDF -R"JUnit-Style HTML Report" -FC:\RESULTAT\login_test -E env_staging -c"TestSuite_Login" C:\myfolder\myproject.xml
cancel
Showing results for 
Search instead for 
Did you mean: