Page 1 of 1

Ranorex projects and source control

Posted: Mon Sep 05, 2011 10:20 am
by timbuethe
Hi,

we working with Ranorex and SVN, with three to five developers at the time, and have a hard time managing the project under version control. To prevent conflicts, we ignored (svn:ignore) binaries as well as reports along with their screenshots:

[*] Reports
[*] bin
[*] obj
[*] *.jpg
[*] *.rxlog

After this we got often conflicts in the "*.rxuser" files, so we ignored them too, which seems to work without any problems.
To prevent conflicts on the test suite (".rxtst"), only one developer is responsible for changes in the test suite. An alternative would be to work with "svn lock" on this file.

This is our setup so far, but we still get a lot of conflicts because of:

[*] generated module ids that change
[*] absolute paths in the .rxrec file's references
[*] changing order of references in the .rxsln file

(Disclosure: I'm not a C# / VisualStudio developer and I'm not sure which parts of this are inherent)

My overall impression is Ranorex is not very VCS friendly and some sort of setup instructions are needed. That said, general tips on Ranorex with VCS as well as concrete tips for the mentioned problems would be highly appreciated.

Thanks and regards,
Tim

Re: Ranorex projects and source control

Posted: Wed Sep 07, 2011 1:37 pm
by timbuethe
One more item:

The ".csproj" files change very often, because references to the report files are added/removed:

Code: Select all

  <None Include="Reports\LampTableau20110829_142312.rxlog">
    <id>344db829-8d74-4795-8efa-6971d2841785</id>
  </None>
This is very VCS unfriendly, since every developer executes test locally.

Re: Ranorex projects and source control

Posted: Thu Nov 10, 2011 4:41 pm
by Hermch
My overall impression is Ranorex is not very VCS friendly and some sort of setup instructions are needed. That said, general tips on Ranorex with VCS as well as concrete tips for the mentioned problems would be highly appreciated.
I have the same opinion. It would be a great help to have some best practices how to manage ranorex with SCM systems.
Some general information would be good. I saw that there are possibilities with tortoise svn, but how to work with other scm systems?

Re: Ranorex projects and source control

Posted: Fri Nov 11, 2011 2:41 pm
by Support Team
Hi guys,
Hermch wrote:I have the same opinion. It would be a great help to have some best practices how to manage ranorex with SCM systems.
One of our customers already wrote a blog about Ranorex and Tortoise SVN. In this blow you will find a few tweaks.
http://noam.kfir.cc/blog/2011/08/30/bet ... subversion
Hermch wrote: I saw that there are possibilities with tortoise svn, but how to work with other scm systems?
We have also a source bridge for TFS on our road-map.
timbuethe wrote:My overall impression is Ranorex is not very VCS friendly and some sort of setup instructions are needed. That said, general tips on Ranorex with VCS as well as concrete tips for the mentioned problems would be highly appreciated.
We've planned to release a blog to work with Ranorex and SVN. We know that's hard to merge the xml files and we try to improve this, that it is more comfortable for the user.
As first instance I will add a bug to remove the Report Files from the csproj file.

Regards,
Peter
Ranorex Team

Re: Ranorex projects and source control

Posted: Tue Jan 10, 2012 4:12 pm
by Hermch
We've planned to release a blog to work with Ranorex and SVN.
Are there any news on this topic?

Re: Ranorex projects and source control

Posted: Thu Jan 12, 2012 10:18 am
by Support Team
Hi,

The Blog is not released so far.
We are working on this.
Thank you for your patience.

Regards,
Martin
Ranorex Support Team

Re: Ranorex projects and source control

Posted: Tue Feb 07, 2012 11:22 pm
by thomasn
Support Team wrote: We have also a source bridge for TFS on our road-map.
Do you know when this will be? This is the main factor preventing our company from buying multiple licences. We are trying to hack together something with SVN Bridge but if you are doing this soon it would be incredible. The blog has an article however it is not an easy process and it would be nice to edit inside the testing client. Thanks

Re: Ranorex projects and source control

Posted: Wed Feb 08, 2012 12:15 pm
by Support Team
Hi,

The source bridge for TFS should be available with Ranorex 3.3. But I cannot tell you when this version will be released. About the blog "Ranorex with SVN", this blog is in process and should be available in the end of this month.

Regards,
Peter
Ranorex Team

Re: Ranorex projects and source control

Posted: Tue Jul 24, 2012 3:50 pm
by orbistest
I can see that there are efforts afoot to include more integrations for Ranorex with SCM applications. However, this does not reduce the issue with the number of files which appear altered when even a simple change to the source code is made.

I am experimenting with GIT source control (yes it really is called that!). I made a simple change to comment in one script for one of our tests. I did not alter anything else but ended up with about 20 files appearing to be altered! If I save these every time there is a simple change, then we are going to find it difficult to find the REAL changes which were made among all the pseudo-changes. :?

Are there plans to make Ranorex change ONLY THE FILES WHICH ARE REALLY CHANGED?

This would help so much with checking history, etc.

BTW - has anyone else used GIT with Ranorex (or other project). Any opinions?

Thanks for reading ...

Kevin

Re: Ranorex projects and source control

Posted: Wed Jul 25, 2012 1:00 pm
by Support Team
Hi,

fyi, the blog post focusing the topic Subversion has been published.

You can ignore specific files with git too.
Therefore please have a look at following link:
https://help.github.com/articles/ignoring-files


Regards,
Tobias
Ranorex Team