Unnecessary changes in ranorex files

Ask general questions here.
fleipold
Posts: 37
Joined: Fri Jun 09, 2017 7:04 am

Unnecessary changes in ranorex files

Post by fleipold » Fri Jun 09, 2017 7:10 am

Good morning

i have a question regarding changes ranorex does in certain files.
We changed some recordings. But there are multiple more files changed during these process, mostly timestamps and similar. Is there a open to prevent ranorex from doing that ore move these changes to a another file.
Because were using git and this makes integrations unnecessary difficult

Regards Florian

asdf
Posts: 174
Joined: Mon Mar 21, 2016 3:16 pm

Re: Unnecessary changes in ranorex files

Post by asdf » Mon Jun 12, 2017 2:06 pm

Hi Florian,

I don't think it is possible to avoid the timestamp changing, since this is Windows related, rather than Ranorex.
However, you could use a .gitignore file which let you ignore all files which should not be included in the GIT repository.
The .gitignore I'm using looks like this.

Code: Select all

#User specific files
*.csproj.rxuser
Solution specific files
*.rxsln.pref
*.sln
#Project specific files
*.csproj.pref
#Autogenerated files
*Repository.cs
#Reports Directory
Reports/
#Output Directories
Bin/
Obj/
#Repository Images
*.rximg
RepositoryImages/
#Nuget Packages
*.nupkg
**/packages/
!**/packages/build 
I hope this helps.

Regards,
asdf

Vaughan.Douglas
Posts: 254
Joined: Tue Mar 24, 2015 5:05 pm
Location: Des Moines, Iowa, USA

Re: Unnecessary changes in ranorex files

Post by Vaughan.Douglas » Mon Jun 12, 2017 2:35 pm

fleipold wrote:Good morning

i have a question regarding changes ranorex does in certain files.
We changed some recordings. But there are multiple more files changed during these process, mostly timestamps and similar. Is there a open to prevent ranorex from doing that ore move these changes to a another file.
Because were using git and this makes integrations unnecessary difficult

Regards Florian
If you take a look over at the Ranorex Road Map page they're working on some things to make merging easier. I support many non-technical automation developers and getting them to use any source control is hard enough. The merge process is always a pain point.

If you've got specific suggestions toss them out on User Voice.
Doug Vaughan

fleipold
Posts: 37
Joined: Fri Jun 09, 2017 7:04 am

Re: Unnecessary changes in ranorex files

Post by fleipold » Wed Jun 14, 2017 3:29 pm

thank you for your suggestions.
I´ll try to incorporate your suggestions into our git ignore file !
Regards Florian