'_DynamicAttributes' object is not callable

Anonymous
2012-05-02
2013-05-28

  • Anonymous
    2012-05-02

    I’m working on automating Outlook client. Trying to click on the Messages field:

    from pywinauto import application
    pwa_app = application.Application()
    pwa_app.start_('C:\\Program Files (x86)\\Microsoft Office\\Office12\\outlook.exe')
    ctrl = pwa_app
    ctrl.Click()
    Traceback (most recent call last):
      File "<pyshell#11>", line 1, in <module>
        ctrl.WrapperObject()
    TypeError: '_DynamicAttributes' object is not callable

    Please let me know how to invoke the method
    Appreciate your response