How to read color
How to read color
In snapshot i have a lot of colors, but i can't read them. May be ranorex has some plugin to read it?
You do not have the required permissions to view the files attached to this post.
Re: How to read color
Hi,
I'm afraid, you are out of luck here. Apparently, this kind of system color panel is not accessible by Ranorex Spy or any other UI spy tool. You will get the same result from MS Inspect, which means that this UI element is apparently not implemented with accessibility on mind. So no, you can't get the individual colors by Ranorex tools. The only thing you may probably do is to use image-based automation eventually, implement your own color reading method via C#?
I'm afraid, you are out of luck here. Apparently, this kind of system color panel is not accessible by Ranorex Spy or any other UI spy tool. You will get the same result from MS Inspect, which means that this UI element is apparently not implemented with accessibility on mind. So no, you can't get the individual colors by Ranorex tools. The only thing you may probably do is to use image-based automation eventually, implement your own color reading method via C#?
You do not have the required permissions to view the files attached to this post.
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
Re: How to read color
That last is what I've had to do for some stuff in our AUT. I grab a bitmap of the element and study the pixel colour at the centre, or something along those lines. Has worked reliably for us for years now.