Removing .exe references from *.rxrec

Bug reports.
atam
Posts: 15
Joined: Wed Jan 16, 2013 2:58 pm
Contact:

Removing .exe references from *.rxrec

Post by atam » Wed Jan 16, 2013 3:04 pm

Hi,

We are having some issues with Ranorex and SVN. After update/checking in:

*.rxrec files contain references in the end of file that differs between SVN users:

<references>
<reference>
C:\repos\regressiontest\regressiontest-ranorex\Regressiontests\TC58_CreateUser\bin\Debug\TC58_CreateUser.exe
</reference>
<reference>
C:\repos\regressiontest\regressiontest-ranorex\Regressiontests\BasicSetup\bin\Debug\BasicSetup.exe
</reference>
</references>

Is there a way to remove these references? These files are always conflicting, even though a user have not modified the recording.

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

Re: Removing .exe references from *.rxrec

Post by Support Team » Thu Jan 17, 2013 3:58 pm

Hello,

Unfortunately this is a bug in our current version. It will be fixed in one of our next releases.

Regards,
Bernhard
.
Image

atam
Posts: 15
Joined: Wed Jan 16, 2013 2:58 pm
Contact:

Re: Removing .exe references from *.rxrec

Post by atam » Fri Jan 18, 2013 10:15 am

Hi,

Ok, thanks for the information. Our current work around is a Pre-commit script that removes the references.

Thanks.

kappa
Posts: 17
Joined: Wed Feb 01, 2012 4:47 pm

Re: Removing .exe references from *.rxrec

Post by kappa » Fri Nov 22, 2013 4:15 pm

Hello to all !
I just have the same problem now with my Ranorex version 4.1.1.15872 and also under 4.1.2 (the last one)
Since January I think that this bug is still unresolved.

what we can do for now to solve this ?

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

Re: Removing .exe references from *.rxrec

Post by Support Team » Wed Nov 27, 2013 3:47 pm

Hello kappa,

Are your references stored on the same location as your solution, or are you using a shared directory for the references?
In some cases Ranorex cannot convert the absolute path to a relative path which could cause the problem.
Please try remove the references from the project and copy them to the same directory as the solution. After that please add the references to the project again.
Please let me know if this works.

Regards,
Bernhard
.
Image

kappa
Posts: 17
Joined: Wed Feb 01, 2012 4:47 pm

Re: Removing .exe references from *.rxrec

Post by kappa » Wed Nov 27, 2013 6:12 pm

Here is my problem :
I have a Ranorex solution, I create a first project with an empty record.
When I create the second project, the first project's record is changed automatically by an addition of those lines :
<references>
<reference>
..\Project2\bin\Debug\Project2.exe
</reference>
</references>

Please find in attachment the project.

If you delete the second project those lines are erased and replaced by : <references/>
Attachments
Solution.rar
(194.58 KiB) Downloaded 128 times

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

Re: Removing .exe references from *.rxrec

Post by Support Team » Fri Nov 29, 2013 4:04 pm

Hello kappa,

Thank you for the solution.
I will check with the development team and will get back to you as soon I have more information.

Regards,
Bernhard
.
Image

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

Re: Removing .exe references from *.rxrec

Post by Support Team » Wed Dec 04, 2013 5:09 pm

Hello kappa,

The reason for the reference entry is that recordings can be opened and executed with the standalone recorder as well.
Unfortunately there is no setting in order to avoid adding the references to the *.rxrec file.
May I ask why this is a problem for you?

Regards,
Bernhard
.
Image