dlg
was defined. This is important, because it looks like dlg
specification produced this error, not dlg.Project
. For dlg.Project
it would be something like ElementNotFoundError: {'best_match': 'Project', 'backend': 'uia', 'process': 2944}
.
.select()
is more proper action for this menu item.
There is parameter .click_input(coords=(x, y), absolute=False) : i have tried this function only for the tab items
Also for “uia” backend top window can be child of main form. In this case it should look like app.MainFormTitle.child_window(control_type=“window”, active_only=True).