Forum Discussion
As Janis mentioned, use point and fix to select the object. Here is how you do it : https://support.smartbear.com/viewarticle/76172/
Then open the object in object browser and inspect all the properties and map whatever you need.
- yurik9 years agoContributor
djadhav, Janis,
Thank you for your reply. I've posted another message yesterday, but it doesn't show for some reason.
The problem I'm facing is that I can inspect properties of an element on the popup window and see them in Object Spy using "point and fix", but if I want to delve into a property (parent or other) I need to click on it in the Object Spy. As soon as I do this the popup window disappears and the properties become inaccessible. Is there a way to delve into these properties?
Another issue that I'm seeing is that when I map an element of the popup window some of the properties come up as Error "The object invoked has disconnected from its clients". I think it is a part of the same problem: popup disappears and some objects cannot be reached anymore. Is there a way around it?
Thanks!
Yuri
- djadhav9 years agoRegular Contributor
Janis, let's look at this another way. It seems you are able to view the properties of the pop up object but having challenges doing anything with the object spy since the pop up closes when you click the object spy.
What exactly are you trying to do for which you need to access the properties of the pop up object? What is your end goal?
- yurik9 years agoContributor
Hi djadhav,
Let's say I can access a combobox on the popup window and in Object Spy it looks like this
Aliases["CompactUIApplication"]["WPFObject"]("HwndSource: UnpinnableInfoPopupDialog", "ERTT")["WPFObject"]("UnpinnableInfoPopupDialog", "ERTT", 1)["WPFObject"]("DialogContent")["WPFObject"]("RTTPopupView", "", 1)["WPFObject"]("RTTSideBarPanelView", "", 1)["WPFObject"]("Grid", "", 1)["WPFObject"]("ERTTComboFilterMenu")["WPFObject"]("MainGrid")["WPFObject"]("toggleButton")
Now, if I want to inspect the properties of ERTTComboFilterMenu, I need to access Parent property of the toggleButton.
Can this be done?
Thanks!
Yuri