Based of this discussion, I recently started using Custom Report templates. In RX Studio, all works OK. I can successfully build and run both debug and release version of my tests.
I pushed my custom report template-related changes to SVN. Jenkins correctly triggered change, downloaded and updated the project files on Jenkins slave (WinXP64) and build a version. So far so good. The problem started after running the Ranorex project.
Here is the starting path as is used by Jenkins:
And here is the Ranorex log containing the failure:C:\Jenkins\workspace\litebox3d_32_64\lb3d_32_64\LB3D-Wxpp64sp2\win_b64\code\bin>.\..\..\..\Ranorex\xSpector\bin\release\xSpector.exe /pa:AUTStartPath="LiteBox3D.exe" /pa:AUTStartParam="-clean" /pa:AUTPID="LiteBox3D" /pa:TypeOfTest="smoke" /tcdr:Load_Files_CSV=1-2 /tcdr:Load_Large_Files=1-2 /tcdr:Load_PLMXML_Files=1-2 /pa:AppVersion=1.2.3 /zr /zrf:.\..\..\..\RXReports\Report_551.rxzlog
Here is how the custom template setting looks in studio: Here is where is the CustomReportTemplate folder located in project. So in my opinion, the problem is in this path, which definitely does not exists:Waiting for RX license...
RX license OK!
[2014/02/04 18:18:06.918][Debug ][Logger]: Console logger starting.
[2014/02/04 18:18:06.949][Failure][TestSuite]: The report file or directory could not be created. The custom report template directory 'C:\Jenkins\workspace\litebox3d_32_64\lb3d_32_64\LB3D-Wxpp64sp2\Ranorex\xSpector\bin\release\.\CustomReportTemplate\' does not exist.
[2014/02/04 18:18:06.981][Debug ][Logger]: Console logger stopping.
Here is the correct path:
As you can see, the current working directory (xSpector\bin\release) does not contain the CustomReportTemplate. In my opinion, if the custom report template directory is defined by a relative path, it should be automatically included in the debug/release folder?
Is there something I can do with the current version, except defining an absolute path, which solution I would like to avoid? For example, is there a way to tell Ranorex to included CustomReportTemplate folder to debug/release folder?
Thank you in advance!