Image Recognition from Resources

Ask general questions here.
atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Image Recognition from Resources

Post by atom » Wed Jul 22, 2009 12:49 pm

Hiya,

Am looking for a code example for the following situation
I have added an image (.bmp) to my projects resources (embedded)
I would now like to take the image from the resources, and use Ranorex to find it on a Form and click on it

Would I have to save the image as an external file first?

Thanks

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

Re: Image Recognition from Resources

Post by Support Team » Wed Jul 22, 2009 1:17 pm

Hello Atom,

in this document you can find out how to find and click an image:
http://www.ranorex.com/support/user-gui ... ition.html
Would I have to save the image as an external file first?
This question is not about Ranorex but there are many methods to save and load image from resource file.Here some links:
http://msdn.microsoft.com/en-us/library ... S.71).aspx
http://www.java2s.com/Code/CSharp/Devel ... cefile.htm


regards,
Mhosen
Ranorex Support Team
.
Image

atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Re: Image Recognition from Resources

Post by atom » Wed Jul 22, 2009 1:50 pm

thanks!