Problems using ControlFindImageFile : Automation API

Problems using ControlFindImageFile

Class library usage, coding and language questions.

Problems using ControlFindImageFile

Postby vonBrabant » Mon May 19, 2008 4:30 pm

I try to use ControlFindImageFile to find an image in a control.
Unfortunately I get back None, although the image should be there :-(

For debugging it would be very helpful if I somehow could extract (save to file) the image that is associated with a control. That means I'm looking for a function like ControlSaveImageFile.

Is there currently a way to get the image of a control ?
vonBrabant
 
Posts: 15
Joined: Thu May 24, 2007 12:12 am

Re: Problems using ControlFindImageFile

Postby Support Team » Tue May 20, 2008 12:20 pm

Are you using a bitmap (.bmp) image file format with the ControlFindImageFile?

vonBrabant wrote:For debugging it would be very helpful if I somehow could extract (save to file) the image that is associated with a control. That means I'm looking for a function like ControlSaveImageFile.

Sorry, this is currently not supported. I added this feature to the wanted features list.

Regards,
Alex
Ranorex Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Postby vonBrabant » Tue May 20, 2008 10:03 pm

Yes, I'm using a bmp file. I got it by making a screenshot of the control.
Would be nice if you could incorporate the function in version 1.5

vonBrabant
vonBrabant
 
Posts: 15
Joined: Thu May 24, 2007 12:12 am


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests