| || |
How to compare with screen and bitmap benchmark?
In my application, I use find() to dynamicly get a table. Then get the status of a checkbox in a cell of the table. I find no method in table to get its cell's checkbox status.
So if I could get a cell's bitmap in a table from screen and compare it with my benchmark.
How to do it? Thanks a lot.
Re: How to compare with screen and bitmap benchmark?
Have you tried using .getProperty() method? This usually works for me.
If this is a custom UI that doesn't support .getProperty() or doesn't have a property corresponding to the checked state, then you can try writing a proxy class to bridge the techonologies.
I don't think bitmap comparison is a good idea in this case. It's usually less reliable then reading the properties off the element.