Forum Discussion
_ivanovich_
Frequent Contributor
Hi,
i updated my bat file like this:
the pdf file is not generated
cd C:\Program Files\SmartBear\ReadyAPI-1.6.0-m-SNAPSHOT\bin testrunner.bat "-FPDF" "-RTestSuite Report" "-fC:\RESULTAT\login_demo" "-EDefault environment" "-cTestSuite_Login" "C:\myfolder\project.xml"
pebaha
6 years agoRegular Visitor
Hello,
I believe the error stems from trying to generate a TestSuite Report while a TestCase is specified (using -R"TestSuite Report" in combination with -c rather than -s for targeting a test suite).
Incase anyone else stumbles upon this thread, running the following command should successfully generate a test report for the given test case
testrunner.bat -FPDF -R"TestCase Report" -f"C:\RESULTAT\login_demo" -E"Default environment" -c"TestSuite_Login" "C:\myfolder\project.xml"
Similarly, a report for the entire project could be generated by
testrunner.bat -FPDF -R"Project Report" -f"C:\RESULTAT\login_demo" -E"Default environment" "C:\myfolder\project.xml"