Hello,
I'm trying to perform an image "Validate.ContainsImage" in a user code module.
When recording the validation i selected an area of the image to be compared.
10.0.0.0.1 192.168.10.1 192.168.1.254
In user code I am trying to use "new Imaging.FindOptions(Rectangle clipping)" but i don't know how to code this properly.
Could you clarify the syntax for me please.
Thank you.
New Imaging.FindOptions
-
- Posts: 1
- Joined: Sun Oct 03, 2021 3:35 am
New Imaging.FindOptions
Last edited by NialWooten on Mon Oct 11, 2021 2:28 am, edited 1 time in total.
Re: New Imaging.FindOptions
Hi,
Check for example this post:
viewtopic.php?f=4&t=13516&p=53102
A neat trick, how to learn more about code behind the Ranorex actions, is to either convert the recording action to code or simply view the generated code behind each action (right click on recording action and form the appeared menu select View code or press Ctrl+Enter). Hope this helps?
And of course, you can find more details about FindOptions here:
https://www.ranorex.com/Documentation/R ... ptions.htm
Check for example this post:
viewtopic.php?f=4&t=13516&p=53102
A neat trick, how to learn more about code behind the Ranorex actions, is to either convert the recording action to code or simply view the generated code behind each action (right click on recording action and form the appeared menu select View code or press Ctrl+Enter). Hope this helps?
And of course, you can find more details about FindOptions here:
https://www.ranorex.com/Documentation/R ... ptions.htm
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration