Forum Discussion
I found the two object that answer the same name in the Aliases , I've changed the name to one of them, that didn't help so, I did what you suggested and picked 2 properties that both have with two different values and added those values to one of the objects, that didn't help as well, should i add those two values to both of the objects? and should what i did suppose to be enough?
The values i've added are: Stretch, System.Windows.Controls.ItemsControl
Thanks
Changeing the name doesn't change the identification. The combination of the properties and the hierarchy of them in relation to parent objects is what determines object identification. Without knowing the specifics of the properties, I can't tell you whether or not what you've suggested are sufficient. You DO need to make the changes to both, not just to one. They both need to have proper identification.
Please use Object Spy and generate screenshots of both objects in question and their entire property list. Provide those and I can give you some suggestions.
- OV7 years agoFrequent Contributor
Ok, The thing is that the 2nd object is a bit problematic because TC cannot see it's properties, etc. because it is not always displaying, in order for it to display we'll need to click the + sign then a menu item will display and this is the other object so the 2nd document is for the 2nd object. hope it can help or another option is that there could be another ItemsControl objects that i'm missing.
Pls see attached
Thx,
Ofer
- tristaanogre7 years agoEsteemed Contributor
In order to help mapping with both objects, I need similar documentation of the object spy of the second object. That's the only way to determine how to distinguish between the two.
- OV7 years agoFrequent Contributor
How can I get the other object if TC can't retrieve it's properties? in order to get its properties i'm using Point and Fix , is there any way to get these properties?
- tristaanogre7 years agoEsteemed Contributor
Question:
What happens when you click record and record just a quick little bit of performing the task you want to perform? The reason I ask is that the properties you've given show that what you have as Object A actually has a "PopupMenu" as a property... which means that the interaction is with the PopupMenu... And recording should show how Testcomplete works with that.You might want to look into http://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/desktop/dev-express/winforms/xtra-popup-menu/index.html