none
access sutom pane with active inspector RRS feed

  • Question

  • I am trying to automate the testing of Pivotal CRM application which includes an outlook 2007 add-in with vbscript. The application generates an appointment form with custom task pane. Required fields on the Outlook form as well as custom pane have to be filled in before saving the appointment. I am able to update the outlook fields like start time, end time etc. with active inspector. However, active inspector is not able to access the fields on the custom task pane. Any suggestions as to how to update the required fields on custom pane through outlook API?
    Thursday, January 9, 2014 4:41 PM

Answers

  • Hi PRamaprasad,

    The Outlook object model doesn't provide any property or method for this. Instead, you need to use some Windows API functions. As you see, there is no any trivial way for doing so.

    Thursday, January 9, 2014 4:46 PM
  • Does that application store values in its own storage or in Outlook user properties? If in user properties it might be possible to set the properties and see if the application picks up on those values.

    If not the only way would be what was suggested by Eugene, getting the controls on the task pane as windows or window controls and writing to those objects using the Win32 API's. That would be a totally non-trivial task.


    Ken Slovak MVP - Outlook

    Friday, January 10, 2014 4:54 PM
    Moderator

All replies

  • Hi PRamaprasad,

    The Outlook object model doesn't provide any property or method for this. Instead, you need to use some Windows API functions. As you see, there is no any trivial way for doing so.

    Thursday, January 9, 2014 4:46 PM
  • Does that application store values in its own storage or in Outlook user properties? If in user properties it might be possible to set the properties and see if the application picks up on those values.

    If not the only way would be what was suggested by Eugene, getting the controls on the task pane as windows or window controls and writing to those objects using the Win32 API's. That would be a totally non-trivial task.


    Ken Slovak MVP - Outlook

    Friday, January 10, 2014 4:54 PM
    Moderator