Image validation gives error, could not locate image ID

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Matthias005
Posts: 4
Joined: Mon May 18, 2015 8:20 am

Image validation gives error, could not locate image ID

Post by Matthias005 » Wed Nov 04, 2015 10:11 am

Hello,

In my testsuite I am doing some image validations.
At some point it gave me the error Could not locate image for ID 'fa96305c-f3ca-44e1-88be-0dab8859b73f'.
It seems that I can't make new screenshots to validate images on because I keep getting that error.
Does anyone know how this can be fixed?

Thanks in advance.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Image validation gives error, could not locate image ID

Post by Support Team » Fri Nov 06, 2015 12:55 pm

Hello Matthias005,

In order to analyze the issue I would need more detailed information.
May I ask which version of Ranorex you currently use?

Does this issue occur only for a specific screenshot?
May I ask if you can delete this screenshot manually and re-record this specific action again?
Another way would be adding a new validation screenshot and removing the old one.
add_validation_screenshot.png
add_validation_screenshot.png (10.09 KiB) Viewed 1094 times
After this step, you need to replace the old screenshot from the action table with the new one.

Please let me know if this solved the issue.

Regards,
Johannes
.
Image

Matthias005
Posts: 4
Joined: Mon May 18, 2015 8:20 am

Re: Image validation gives error, could not locate image ID

Post by Matthias005 » Fri Nov 06, 2015 1:58 pm

Hello Johannes,

I am using Ranorex version 5.4.3.
It happens to all of my recent added screenshots and when I try to add a new one like you said it still gives me the same error. I can't seem to add a new image validation to my testsuite.

Regards,
Matthias

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Image validation gives error, could not locate image ID

Post by Support Team » Fri Nov 06, 2015 2:38 pm

Hello Matthias,

Unfortunately, the issue was not reproducible on my machine.

It would be great if you could upload your compressed Ranorex Solution.
If you want, you could also send the solution to [email protected].
This would help me analyzing the issue.

Thank you in advance.

Regards,
Johannes
.
Image

navya28
Posts: 17
Joined: Fri May 29, 2015 6:15 pm

Re: Image validation gives error, could not locate image ID

Post by navya28 » Fri Feb 05, 2016 1:31 am

Hello Ranorex Support,

I am facing the same issue.When I run the compare image command as a standalone module, it works fine but when I try to run the entire suite, I get the error 'Could not locate image with ID....'. I tried all possible things written on this post but I still see the same error while using compare image command. Can you please help me with it?

Thank you

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Image validation gives error, could not locate image ID

Post by Support Team » Fri Feb 05, 2016 1:32 pm

Hi navya28,

May I ask if you use the latest version of Ranorex, 5.4.5? If not, I would suggest updating to the latest version.

If this doesn't solve the issue, it would be great if you could upload your compressed Ranorex Solution.
If you want, you could also send the solution to [email protected].
This would help me analyzing the issue.

I look forward to hearing from you.

Sincerely,
Johannes
.
Image