I am running iTest 4.1.4 on linux and am getting this error when a test is executed from withing the iTest UI. The first part of the test calls a procedure which returns output and the returned data is mapped properly. However the mapped response is not saved (I don't see them in the Queries view) and each time I run the test case I see the errors below. I searched the workspace directory thinking the previous Windows path was saved somewhere but there were no instances of this path at all in the workspace. Where would this path be getting set? org.eclipse.core.runtime.CoreException: Parent of resource: /Z:/kdoherty/Docs/iTestReports/set_interface_static_2013-10-03_14-22-24.html is marked as read-only. at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55) at org.eclipse.core.internal.filesystem.local.LocalFile.checkReadOnlyParent(LocalFile.java:68) at org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:384) at com.fnfr.itest.reporting.core.ExportTestReportOperation.generateReport(ExportTestReportOperation.java:460) at com.fnfr.itest.jobs.ui.internal.reporting.ExecutionStatusListener$GenerateReportJob.run(ExecutionStatusListener.java:59) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.io.FileNotFoundException: /Z:/kdoherty/Docs/iTestReports/set_interface_static_2013-10-03_14-22-24.html (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(Unknown Source) at org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:382) ... 3 more
Could you please cross check if Auto-Export Test report options are enabled for that workspace under preferences as shown below and check the path pointed to store test reports. ![alt text] : /storage/temp/3688-report.png If you are using the job to execute the testcases, then please check if you have enabled the check box to auto-export test reports under preferences->Fanfare->Jobs.
We reproduced the same issue in the Ubuntu system. This is because of the permission issue where the file is marked as readonly. Give the complete permission so that you wont get this error. [link text] : /storage/temp/3691-log.txt
Update: The mapped response was in a different procedure so the queries were not being seen. Passing the desired value from the mapped response fixes that issue but I am still seeing the Internal Errors when running the testcases.