Failed to capture an image of element

Bug reports.
Posts: 2
Joined: Fri Jan 26, 2018 6:08 pm

Failed to capture an image of element

Post by gmarsh » Fri Jan 26, 2018 6:18 pm


I have written a simple test using image-based automation to control a Citrix window. Everything works fine on my local machine. However, when I run the test remotely using Ranorex Agent I get an error "Failed to capture an image of element" when Ranorex tries to capture a screenshot of the Citrix window. This error emanates from the Ranorex.Imaging.Contains method.

Can anyone suggest why this may work on one PC but not another? Does Ranorex.Imaging need certain libraries to be present or anything installed on a host machine?

Many thanks,


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

Re: Failed to capture an image of element

Post by Support Team » Tue Feb 06, 2018 9:09 am

Hi all,

We are already in contact with the customer and we are currently analyzing it.
The post will get updated as soon as we find a solution.

Thank you!

Ranorex Support