Image validation when working with referenced projects

Ranorex Spy, Recorder, and Studio.
boutsen
Posts: 1
Joined: Wed Sep 09, 2015 9:14 am

Image validation when working with referenced projects

Post by boutsen » Thu Jan 26, 2017 10:02 am

Hi,

I'm currently working with Test Suite Module Library project that is used in a couple of Ranorex Test Suites.
In the Test Suite Module lib, we have a module that does an image validation on a certain element.

Now, when I make a reference from my Test Suite to the Test Suite Module ( dll ), I see that the steps fails on the image validation, cause it could not find the image, since it is looking in the repository image folder of the current project.

Do I need to manually copy the images in the project as well ? Or is there another way to have it automatically added or reference when making the reference to the dll we have created.

Thanks !

qwertzu
Posts: 179
Joined: Wed Jan 25, 2017 11:08 am

Re: Image validation when working with referenced projects

Post by qwertzu » Fri Jan 27, 2017 3:59 pm

Hi,
I faced the same issue and I found the following workaround:
To solve it, one possibility would be adding the whole Module Library project.
Another way can be referencing the dll, as you already did and adding the folder “RepositoryImages” plus the .rximgres file to your Project. Then it should work.
I hope this will help you with your problem.