Screenshot Validation from referenced solution

Ranorex Studio, Spy, Recorder, and Driver.
eguild
Posts: 2
Joined: Wed Apr 30, 2014 4:47 pm

Screenshot Validation from referenced solution

Post by eguild » Wed Apr 30, 2014 4:52 pm

Hello,

I created some recordings that have steps for screenshot validation of a repository item.

The solution with these recordings is referenced in another solution. When I run this referenced recording module I get an error that says the screenshot cannot be located. It seems to be searching the wrong path. Is there any way to share modules that validate repository items via screenshot?

Here is the error I am getting:

Could not find a part of the path 'C:\Users\eguild\Documents\Ranorex\RanorexStudio Projects\ReferenceOtherSolution\ReferenceOtherSolution\bin\Debug\RepositoryImages\SourceRefRepository376e37fb.rximgres'.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Screenshot Validation from referenced solution

Post by Support Team » Fri May 02, 2014 2:12 pm

Hello,

When you reference an other Ranorex solution and not add the existing project (by right clicking on solution and selecting Add -> Existing Project) you also need to copy the created RepositoryImages folder of the referenced solution to the current output folder of the current solution.

Regards,
Markus

eguild
Posts: 2
Joined: Wed Apr 30, 2014 4:47 pm

Re: Screenshot Validation from referenced solution

Post by eguild » Wed May 14, 2014 4:08 pm

Thank you!