Update Testdata from data Fabric

Hello everyone,
I am new to the data variation topic and implemented a data variation using data service (data fabric) for it. Somehow I am unable to update the test data in Studio to debug with the newest and updated data. I tryed to do it via the “Update Testdata” button in the context menue of my test process and also in the Test explorer. Non of them worked and I still use outdated data for debugging. Sometimes removing and re-adding of all Test data works.
Is there any other way how I can update the data in my local studio project?

Hey @sabine.klemenjak,

You sometimes need to manually refresh the test data cache in Studio. Close and reopen the project, clear %LocalAppData%\UiPath\DataVariationCache, then use Update Test Data again—this forces Studio to pull the newest data.

thanks

Hey,
Thanks a lot for the fast answer. For some reason I don´t have the DataVariationCache in my folder. Or should I delete the corresponding .dat file in the .cache folder?

Hey @sabine.klemenjak,

Yes, if you don’t see a dedicated DataVariationCache folder, you can safely delete the corresponding .dat files inside the .cache folder of your project. That forces Studio to reload the latest test data on the next run.

Hey,
For some reason I am still unable to get the updated data into Studio.
I deleted the .dat file from the .cache folder. After that I used the Update Testdata function to load the data again.
Interesting is that I can see them in the argument of my test data but I can´t access them in my process. Any idea why?

it may point to a bug in how test data is bound to arguments. Escalating with UiPath Support while sharing logs and project details would be the next best step.

1 Like

Hey @sabine.klemenjak,

If you need help to create the support ticket let me know or you can mark as solution.

Thanks you

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.