BUG: CSV DataConnector file does not get updated

Bug reports.
User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3930
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

BUG: CSV DataConnector file does not get updated

Post by odklizec » Thu Jul 26, 2018 11:19 am

Hi folks,

One of my colleagues found a problem with CSV data convector, which seems does not update under certain conditions. I occasionally spotted it too, but now I have a nice reproducible steps ;) It seems it's something 8.2 related.

Basically, if the data connector file is stored (in data connector) with relative path, the file does not get updated after running the solution (right after editing the CSV file via Ranorex Data Connector dialog). And of course, the file is set to be included in project and copied to output directory.

Please try the attached solution...
DataConnectorFailsToUpdate.zip
(14.32 KiB) Downloaded 4 times
Load the solution and without changing anything, run the solution >> you should get numbers 1, 2, 3 and 4.
Now go to TestCase >> Data Source and here edit the values with anything you want, then press OK (ignore Apply) and run the solution again >> you should still get numbers 1, 2, 3 and 4, which is definitely wrong ;)

My colleague told me, that Apply >> OK sequence fixes this issue for her, but I can't confirm that. For me, it fails to update regardless I perform Apply before OK. My guess is, that there is a problem with copying/replacing edited file to output directory (during build)? Hope this helps?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: BUG: CSV DataConnector file does not get updated

Post by Support Team » Thu Jul 26, 2018 12:02 pm

Hello Pavel,

Thank you for reporting this issue on the forums.

We discovered this issue shortly after the release. Our developers are already working on a fix and it will hopefully make it into the next bug-fix release. The workaround would be to rebuild the solution by clicking "Build"->"Rebuild solution".

I hope that this information will help you.

Sincerely,
Tomaž
.
Image

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3930
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: BUG: CSV DataConnector file does not get updated

Post by odklizec » Thu Jul 26, 2018 12:07 pm

Hi Tomaž,

Thanks. I already discovered the "rebuild" workaround. So it's OK for now ;)
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration