Page 1 of 1

How to clean information about "removed" data connectors?

Posted: Fri Apr 19, 2013 11:54 am
by vadim
Hi,

I had several data connectors, that were created with option "Copy file to project".
Due to modifications is test project I removed old connectors and created new connecters with other names.
I used "Manage Data Resources" to perform modifications above.
Now I have problem that project can't build, because it is looking for old connecters:
Error 3656: Could not copy the file "...\Ranorex\RanorexStudio Projects\RanorexTests\MyProject\Test_1.xlsx" because it was not found. (MSB3030)

I looked in all project files for text "Test_1.xlsx" and found it only at "MyProject.csproj" file.
I removed blocks with old connectors from "MyProject.csproj" file.
After that project built successfully.
But after some time these blocks appear in file again.

Thanks,
Vadim

Re: How to clean information about "removed" data connectors?

Posted: Mon Apr 22, 2013 11:59 am
by vadim
Hi,

Just to add.
Looks like problem is seen after file replacing for Data Connector.
E.g.
I had connector with name "MyConnector" that referred to file "Test_1.xlsx".
Than I deiced to use file "TestFile_1.xlsx" for "MyConnector".
I opened connected and selected new file.
I deleted also old file "Test_1.xlsx".
After that I got such error.

Cheers,
Vadim

Re: How to clean information about "removed" data connectors?

Posted: Tue Apr 23, 2013 5:20 pm
by Support Team
Hi Vadim,

May I ask you which Ranorex version you are using?

Thanks,
Markus

Re: How to clean information about "removed" data connectors?

Posted: Wed Apr 24, 2013 12:17 pm
by vadim
Hi Markus,

Ranorex version is 4.0.2.21666.

Cheers,
Vadim

Re: How to clean information about "removed" data connectors?

Posted: Wed Apr 24, 2013 4:08 pm
by Support Team
Hello,

The Test Suite is still linked with your old data source 'Test_1.xlsx'.
Ranorex tries to copy this file to your 'bin\debug' folder but the file is deleted.

Could you please expand your Test Suite file (e.g. MyProject.rxtst) in Ranorex Studio in the Projects view and delete the entry for this old data source?

Regards,
Markus (T)

Re: How to clean information about "removed" data connectors?

Posted: Thu Apr 25, 2013 9:38 am
by vadim
Hi, Markus.

Thanks.
No, at this moment there is no information at Test Suite file about deleted connecter.
If I see this error again, I will check it.

Cheers,
Vadim

Re: How to clean information about "removed" data connectors?

Posted: Thu Apr 25, 2013 2:33 pm
by Support Team
Hello,

You are welcome :-)

Regards,
Markus (T)