I've been trying to create an automated test with MSAA on python using pyMSAA
I faced with a problem when a button does not have DefaultAction
b.accDoDefaultAction()
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "msaa.py", line 215, in accDoDefaultAction
self.IAccessible._IAccessible__com_accDoDefaultAction(objChildId)
_ctypes.COMError: (-2147352573, 'Member not found.', (None, None, None, 0, None)
)
I found out that the absence of DefaultAction is normal.
Is there any way to make a click(double-click) on such elements? Send some event, etc... I am thinking about clicking by coordinates, but it may be not a good idea.
Thanks