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
Ranorex projects and source control
Re: Ranorex projects and source control
One more item:
The ".csproj" files change very often, because references to the report files are added/removed:
This is very VCS unfriendly, since every developer executes test locally.
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>
Re: Ranorex projects and source control
I have the same opinion. It would be a great help to have some best practices how to manage ranorex with SCM systems.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.
Some general information would be good. I saw that there are possibilities with tortoise svn, but how to work with other scm systems?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex projects and source control
Hi guys,
http://noam.kfir.cc/blog/2011/08/30/bet ... subversion
As first instance I will add a bug to remove the Report Files from the csproj file.
Regards,
Peter
Ranorex Team
One of our customers already wrote a blog about Ranorex and Tortoise SVN. In this blow you will find a few tweaks.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.
http://noam.kfir.cc/blog/2011/08/30/bet ... subversion
We have also a source bridge for TFS on our road-map.Hermch wrote: I saw that there are possibilities with tortoise svn, but how to work with other scm systems?
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.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.
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
Are there any news on this topic?We've planned to release a blog to work with Ranorex and SVN.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex projects and source control
Hi,
The Blog is not released so far.
We are working on this.
Thank you for your patience.
Regards,
Martin
Ranorex Support Team
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
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. ThanksSupport Team wrote: We have also a source bridge for TFS on our road-map.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex projects and source control
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
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
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
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
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex projects and source control
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
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