Page 1 of 1

Runtime files in network drive

Posted: Fri Dec 18, 2020 12:49 pm
by TimoL
What I have tried is:
1. build all projects in Ranorex Studio (version 9.3.3 at the moment)
2. xcopy every test suite's bin/Debug folder into a single folder in network drive ("Runtime" folder is already there). There are several test suites.
3. run tests by Jenkins agents from the network drive. AUT has been installed on the Jenkins agent's machine and runtime license is in use there.

Now I got error in Jenkins:
System.IO.FileNotFoundException: Could not load file or assembly 'Ranorex.Bootstrapper, Version=9.3.3.0, Culture=neutral, PublicKeyToken=xxx' or one of its dependencies. The system cannot find the file specified.
File name: 'Ranorex.Bootstrapper, Version=9.3.3.0, Culture=neutral, PublicKeyToken=xxx'
at __RxMain.__RxProgram.RanorexInit()
at __RxMain.__RxProgram.Main(String[] args) in c:\Users\yyy\Documents\Ranorex\RanorexStudio Projects\Hyperspace_testi\Regressio\obj\Debug\__RxPrograms.g.cs:line 30
So the path refers to a local (Ranorex Studio machine's) folder. How to change that?

Could there be any problems if all test suites runtime files are in the same folder?

Re: Runtime files in network drive

Posted: Mon Dec 21, 2020 6:43 pm
by TimoL
Seems that all test suites bin/Debugs combined into same folder works fine when in local hard drive, but when in network drive, the error message of my previous post denies the run.