Ask a Question

.Net Desktop App Object Spy cannot find sub Item


.Net Desktop App Object Spy cannot find sub Item



my company is using Test Complete Desktop version for a long time and now I am taking over some responsibilities on desktop testing, after a long WEB, Mobile app experience. 


My question is when I spy on the specific sub-menu item, object spy can only detect the parent, and not very good at narrowing down the sub-elements. Any idea what can I do?

For example, it is not possible to detect File, Edit, or Window? 



Champion Level 3



Depending on what controls are used by your tested application, you may consider to check that corresponding extension is enabled (File | Install Extensions...) and/or enable/adjust settings for MSAA and UI Automation (Project Properties | Project | Open Applications | MSAA/UI Automation).

Also, if developers are using composite controls, you may consider to adjust Project Properties | Project | Open Applications | WPF settings.


Also, check that 'Pre-Release...' text on the top-right corner is identified as a separate object. The case is that quite often menu items can be accessed either as an elements of, say, Items property of the menu object (e.g. menu.Items(0).Click) or as, say, menu('File').Click. But I would like to ensure that menu object itself is identified correctly. And this 'Pre-Release...' text looks like a separate text control which should be separately identified by Object Spy/in Object Browser.


  /Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.

Oh my God, it works :)))




Showing results for 
Search instead for 
Did you mean: