I want to add an image recognition item to my existing recording. I have used Ranorex Spy to establish a path to the area of the application I want and I have added that to the repository. I then capture a screenshot of that area. I now want to drag that repository item into the recording and use it as a mouse click item with a location of the screenshot to click on. I also want to use the image editor within the location attribute in order to pick a particular area to click on.
I haven't been able to find a way to set the location of the mouse click item that I am adding (using my newly created repository item) to an image (which would be the screenshot) in order to set the click properly. The choices from the dropdown in the location attribute do not include an option for "image".
Any help would be appreciated.
Thanks.
Image Recognition without Recording
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Image Recognition without Recording
Hello,
I am afraid that I didn't catch your issue.
You can define the location of the mouse click for an image within the 'Edit Click Location' window. Please let me know if you need more information.
Regards,
Bernhard
I am afraid that I didn't catch your issue.
You can define the location of the mouse click for an image within the 'Edit Click Location' window. Please let me know if you need more information.
Regards,
Bernhard
You do not have the required permissions to view the files attached to this post.
Re: Image Recognition without Recording
How is this accomplished without the recorder \ studio? I'm using Visual Studio and the automation API only. Thanks!
Edit: Found it! Host.Local.Click(new Location(bmp, Location.LowerLeft));
Edit: Found it! Host.Local.Click(new Location(bmp, Location.LowerLeft));
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Image Recognition without Recording
Please take a look to following documentationcrimson wrote:How is this accomplished without the recorder \ studio? I'm using Visual Studio and the automation API only. Thanks!
http://www.ranorex.com/support/user-gui ... html#c3326
Regards,
Peter
Ranorex Team