How to deal with Un-Detected controls

Sep 16, 2010 at 10:19 PM

Hi,

I have a control that is not detected by UISpy or UIAVerify. I also tried the window.LogStructure(); method and i don't see that control in the output their either. First of all my question is how is that possible? It is a desktop application with a control that is like a vertical navigation bar on the left hand side of the screen it has a structure like this.

----------------------

|-----------------------

|------------------------

|-------------------------

 

 Now these are the questions i need ur help with.

1- What other possible ways can i try to located this control?

2- What methods can i use to be able to click on this control?

Sep 18, 2010 at 11:22 AM

Hi

1.

no other way, the control don't implement Automation Peer and so it is not visible for UIAutomation and so don't visible for White.

If you have access to the developer : They should implement Automation Peer.

2. You can click on the element by position, try to get position based on the last known element and click on this position.

 

Throndorin

Sep 20, 2010 at 3:15 PM

Thanks , That's exactly what i did. I found the nearest item and then based on that i move the mouse cursor to click on the item.