Page 1 of 1

Can i get references from Artifactory?

Posted: Mon Jul 09, 2018 10:49 am
by sanderme
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

Re: Can i get references from Artifactory?

Posted: Wed Jul 11, 2018 10:50 am
by dpFourOFour
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

Re: Can i get references from Artifactory?

Posted: Thu Jul 12, 2018 7:00 am
by sanderme
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

Re: Can i get references from Artifactory?

Posted: Fri Jul 13, 2018 12:12 pm
by dpFourOFour
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
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