Object Index Changes
Having a problem with a test. Seems that an object's index within the application I am testing changes. One run it will appear in object spy as ("DockContainer", "", 3), and the next it will be ("DockContainer", "", 2). Setting an if statement to set a variable seems a bit ridiculous. Is there a way to change this in name mapping so that I can set the index to "*"? Thanks for you attention to this matter...
Re: Object Index Changes
Just keep the WndClass property only for the item in under NameMapping window.
If you are not interested in NameMapping, the bestway is to use FindChild("WndClass", "DockContainer", 1)
Thank/Like to help others if my input helped you !!!
I am speaking for myself, not for my employer nor any one.