Dropdown menu inside of a dropdown menu is not found by testcomplete
Sometimes it work, but most of the time it is not working. The Details of the error show that TestComplete is Unable to find the object when executing the Click command. My object in question is a WPFControl of class System.Windows.Controls.MenuItem.
I went in the Object Mapping of the project to see if the class was present in WPFControl and it is.
Another thing that I tried was to disable the * in the list of accepted windows in MSAA properties. It works, but it bring other problems, so it might not be the full solution.
I also tried to check Simplified WPF object tree in the WPF section. It works but it brings a lot of other problems (might have to remake a lot of name mapping to only fix this one error).
Is there a solution to make this menu item found without breaking too much of what I already have?
Thanks!
Edit: I attached a screenshot of what it looks like. The item that is not found is the highlighted button written Chrome.