Ranorex projects and source control

Experiences, small talk, and other automation gossip.
timbuethe
Posts: 15
Joined: Mon Aug 22, 2011 11:08 am

Ranorex projects and source control

Post by timbuethe » Mon Sep 05, 2011 10:20 am

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

timbuethe
Posts: 15
Joined: Mon Aug 22, 2011 11:08 am

Re: Ranorex projects and source control

Post by timbuethe » Wed Sep 07, 2011 1:37 pm

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.

Hermch
Posts: 40
Joined: Thu May 26, 2011 7:17 am
Location: Germany

Re: Ranorex projects and source control

Post by Hermch » Thu Nov 10, 2011 4:41 pm

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?

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

Re: Ranorex projects and source control

Post by Support Team » Fri Nov 11, 2011 2:41 pm

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
.
Image

Hermch
Posts: 40
Joined: Thu May 26, 2011 7:17 am
Location: Germany

Re: Ranorex projects and source control

Post by Hermch » Tue Jan 10, 2012 4:12 pm

We've planned to release a blog to work with Ranorex and SVN.
Are there any news on this topic?

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

Re: Ranorex projects and source control

Post by Support Team » Thu Jan 12, 2012 10:18 am

Hi,

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

Regards,
Martin
Ranorex Support Team
.
Image

thomasn
Posts: 4
Joined: Mon Dec 12, 2011 4:39 pm

Re: Ranorex projects and source control

Post by thomasn » Tue Feb 07, 2012 11:22 pm

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

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

Re: Ranorex projects and source control

Post by Support Team » Wed Feb 08, 2012 12:15 pm

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
.
Image

orbistest
Posts: 23
Joined: Mon Oct 17, 2011 5:31 pm

Re: Ranorex projects and source control

Post by orbistest » Tue Jul 24, 2012 3:50 pm

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

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

Re: Ranorex projects and source control

Post by Support Team » Wed Jul 25, 2012 1:00 pm

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
.
Image