Having issues finding an object
Posted: Wed Nov 05, 2014 7:36 pm
While attempting to automate a page with checkboxes that are generated dynamically I find that I am having issues with interacting with them. I can locate the checkboxes in the Spy easily enough and determine their attributes however when referenced in code some of their attributes don't match.
For example:
A checkbox's ScreenLocation might show 852,358 value in the spy.
But in my code if I call cbox.Element.ScreenLocation I get -851, -271
Any help would be greatly appreciated.
For example:
A checkbox's ScreenLocation might show 852,358 value in the spy.
But in my code if I call cbox.Element.ScreenLocation I get -851, -271
Any help would be greatly appreciated.