Generate HTML reports - Command line.
We are using Ready API (ours is web services testing), and using only soapui ng pro.
We are executing the tests from command line like this, but, the reports are not stored in HTML format. They were stored in .txt, and also just with failure.
I want to get Junit format HTML reports with all steps (pass, fail, not executed). Please let me know the command.
To print my validations inside of the test, I am using - log.info ("test Passed")
I want to get all these be printed in the Html report.
testrunner.bat c:\newproj\myproj.xml -J -fc:\rep
Tested even this:
testrunner.bat c:\newproj\myproj.xml -a -fc:\\rep -F HTML
I got only .txt, and inside of those, my log.info related output was not printed.
And, I did not get the .HTML file either.
Hi,
Try using the following command line.
testrunner.bat "-FHTML" "-RJUnit-Style HTML Report" "C:\myfolder\myproject.xml"
If you want to get a JUnit-style HTML report, you need to specify this in the –R argument. Please note that –F and –A arguments are ignored in this case. Please refer to the following online article for more information:
http://readyapi.smartbear.com/features/automation/testrunner/cli
Does this help?