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.
Having issues finding an object
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Having issues finding an object
Hello jwitmer,
Can you please give us more information about your application and the properties you are using. Unfortunately it is hard to help you without any knowledge about the controls you want to test.Please attach a Ranorex Snapshot file and describe what exactly you are trying to do.A detailed description how to create a Ranorex Snapshot file can be found in the section Creating Ranorex Snapshot Files on our website.
Regards,
Bernhard
Can you please give us more information about your application and the properties you are using. Unfortunately it is hard to help you without any knowledge about the controls you want to test.Please attach a Ranorex Snapshot file and describe what exactly you are trying to do.A detailed description how to create a Ranorex Snapshot file can be found in the section Creating Ranorex Snapshot Files on our website.
Regards,
Bernhard