Can i get references from Artifactory?

Class library usage, coding and language questions.
sanderme
Posts: 2
Joined: Mon Jul 09, 2018 10:29 am

Can i get references from Artifactory?

Post by sanderme » Mon Jul 09, 2018 10:49 am

Hi,

Our company has been using Ranorex for a while and we want to take test automation to the next level.
We have created some default recordings and saved them in a separate DLL which at the moment we add as a reference in all our test suites.

But now we want to put the DLL in our (jfrog) Artifactory and add it in Ranorex studio as a reference (straight from the artifactory).
Is there any way we could do that?


Kind Regards,
Sander

dpFourOFour
Certified Professional
Certified Professional
Posts: 38
Joined: Mon Dec 12, 2016 9:24 am

Re: Can i get references from Artifactory?

Post by dpFourOFour » Wed Jul 11, 2018 10:50 am

Hi Sander,

I'm unfortunately not deep into jfrog artifactory, but from my observations, you have the following two options
  • Create a Nuget Repository in your artifactory and push your libraries as nuget package
    Create a Generic Repository, upload your files as they are and fetch them using CURL
Hope that helps.

Best,
DP
Please always include the following information to your posts
  • Ranorex Version
  • OS Version

sanderme
Posts: 2
Joined: Mon Jul 09, 2018 10:29 am

Re: Can i get references from Artifactory?

Post by sanderme » Thu Jul 12, 2018 7:00 am

Hi,

Thanks for the answer.

Unfortunately the best option, NuGet is not an option as we would need the enterprise version of Artifactory to host the artifacts.
And i doubt my company is willing to let me spend 30K just so i can put 5 dll's in there. :roll:

I'll start looking into CURL in a bit.


Kind regards,
Sander

dpFourOFour
Certified Professional
Certified Professional
Posts: 38
Joined: Mon Dec 12, 2016 9:24 am

Re: Can i get references from Artifactory?

Post by dpFourOFour » Fri Jul 13, 2018 12:12 pm

Hi Sander,

Sorry, I was not aware that the nuget repo is just available in the pro version.

CURL is pretty simple, and should be available on your windows machine by default. Also if you create the generic repo in artifactory, it will show you the command for fetching the files.
jfrogArti.jpg
jfrogArti.jpg (42.95 KiB) Viewed 114 times
You could for example also put that command in a batch/powershell script and execute this script in a scheduled task, to always have an up-to-date version of your libraries.

Best,
DP
Please always include the following information to your posts
  • Ranorex Version
  • OS Version