How to share the scripts across machines

Best practices, code snippets for common functionality, examples, and guidelines.
csolanki
Posts: 120
Joined: Thu Mar 22, 2018 8:51 am

How to share the scripts across machines

Post by csolanki » Fri May 11, 2018 8:18 am

Hi,

I am aware of we(Ranorex) have follwoing source controls :

Git
Subversion
TFVC

I wanted to know, If we have more than 2 license and wanted to share our scripts on daily basis. What would be the process to go with, in case of web application. I have tried team drive option, but it is really tideous and confusiong w.r.t which file to share and which not. So, I will be keep on sharing complete folder with other mates which is really huge in size due to transfer of log files as well.

will you be able to help in figuring out which way is better than sharing in google drive.

Thanks.
Regards,
Charu Solanki
Ranorex User

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: How to share the scripts across machines

Post by odklizec » Fri May 11, 2018 8:29 am

Hi,

Using shared/network drives is a completely bad idea! At first, it's not supported/recommended way of sharing Ranorex solutions and at second, it's a certain way to break/loose something without having backup. Using version control system (like GIT, SVN or TFS) is the only and proper way of sharing your work among multiple users/machines. You don't have to use integrated VCS in Ranorex. You can use any VCS you like. Integrated VCS is just a nice bonus. But for example TFS is better to use externally anyway, because integrated TFS is way too slow (due to slow msscci provider).
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

csolanki
Posts: 120
Joined: Thu Mar 22, 2018 8:51 am

Re: How to share the scripts across machines

Post by csolanki » Fri May 11, 2018 10:14 am

Thanks. :) :)
Regards,
Charu Solanki
Ranorex User

csolanki
Posts: 120
Joined: Thu Mar 22, 2018 8:51 am

Re: How to share the scripts across machines

Post by csolanki » Fri May 11, 2018 11:36 am

Hey,

sorry to bother you again, but just wanted to ask one more question :

I am getting error stating no git repository file is present in repective folder.

Do I need to create git repo ? or ranorex repo is existing git repo ?
You do not have the required permissions to view the files attached to this post.
Regards,
Charu Solanki
Ranorex User

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: How to share the scripts across machines

Post by odklizec » Fri May 11, 2018 12:06 pm

Hi,

I'm sorry, I'm not using GIT nor I know anything about it. But I'm pretty sure that Ranorex repository and GIT repository are completely different things ;) Is your company using GIT? If so, then I would suggest to ask someone with GIT knowledge for help. Basically, you must connect Ranorex GIT tool with your company's GIT server.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

csolanki
Posts: 120
Joined: Thu Mar 22, 2018 8:51 am

Re: How to share the scripts across machines

Post by csolanki » Fri May 11, 2018 12:12 pm

Okay, Sad to know. I am aware of git and its functionality. But we have to link local git repo for that, in Ranorex. Never mind, I will find out.

Thank You.
Regards,
Charu Solanki
Ranorex User

Tomsk666
Certified Professional
Certified Professional
Posts: 34
Joined: Thu Mar 28, 2013 12:59 pm
Location: UK
Contact:

Re: How to share the scripts across machines

Post by Tomsk666 » Fri May 11, 2018 12:57 pm

Have a look at the first video in this link which will take you through it step by step
https://www.edgewordstraining.co.uk/201 ... tegration/

csolanki
Posts: 120
Joined: Thu Mar 22, 2018 8:51 am

Re: How to share the scripts across machines

Post by csolanki » Mon May 14, 2018 8:45 am

Helped. Thanks a lot. :)
Regards,
Charu Solanki
Ranorex User