Page 1 of 1

Report: "Data file or transformation file is missing"

Posted: Mon Nov 03, 2014 9:34 pm
by kmck
Hello,

I just ran an 8 hour test and the report is refusing to open. I get the following error when opening:

Data file (Groups_20141103_095338.rxlog.data) or transformation file is missing.

However, this file, as well as the report file, are both present in the /bin/Debug folder as well as the /Reports folder (image attached).

Any idea why this would be giving this error and how I can rectify it so I won't have to re-run the test completely?

Thanks!

Re: Report: "Data file or transformation file is missing"

Posted: Mon Nov 03, 2014 10:28 pm
by odklizec
Hi,
My guess is that the data file is somehow corrupted? Did your AUT terminated OK (without crash or forcible termination)? Could you check the AUT directory for the availability of *.rxlog.data_tmp file? If you find such file, try to rename it to *.rxlog.data and try to open the report again.

Re: Report: "Data file or transformation file is missing"

Posted: Mon Nov 03, 2014 10:33 pm
by kmck
Hey odklizec,

The AUT terminated fine and ran through the entire test suite without a forced termination. I didn't find the data_tmp file, which is what I thought would have been the issue initially. If it IS a corrupted file, I wonder what would cause it to become corrupt?

Re: Report: "Data file or transformation file is missing"

Posted: Tue Nov 04, 2014 2:03 pm
by kmck
I ran the full suite again last night and received the same error. Any help or insight from Ranorex on this issue?

Re: Report: "Data file or transformation file is missing"

Posted: Tue Nov 04, 2014 2:32 pm
by odklizec
It's hard to say what's wrong without examining the file. I would suggest you to send the report file to Ranorex support so they can look at it and decide what's wrong.

Re: Report: "Data file or transformation file is missing"

Posted: Thu Nov 13, 2014 7:47 pm
by mrollins
From the looks of the screenshot Windows Explorer is hiding file extensions, so the extension there probably isn't actually ".rxlog.data", it's actually ".rxlog.data.<something>"

You should turn off "Hide extensions for known file types" in the explorer folder options to get the full path.

I used to have a similar problem with missing data files when I created a script with the same filename as the AUT. When I then tried to kill the AUT in my teardown I carelessly ended up killing my own script just before it finished. I had to first check that the PID I was trying to kill didn't match the current process PID (i.e. my script). :oops: