Page 1 of 1

Image validation when working with referenced projects

Posted: Thu Jan 26, 2017 10:02 am
by boutsen
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 !

Re: Image validation when working with referenced projects

Posted: Fri Jan 27, 2017 3:59 pm
by qwertzu
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.