UIAutomation exercises
- Using UIAutomation to start the process of "Outlook"
- Using UIAutomation to simulate the clicking of "New Email"
- Using UIAutomation to simulate to put an email address to the "To" edit box.
- Using UIAutomation to simulate to put an email address to the "Subject" edit box.
- Using UIAutomation to simulate the clicking of "Send"
Problems could be further investigation:
- The process of "Outlook" could not be found by the process ID.
- The email content could not be filled with "Value" pattern. What I can see the difference of the email body and the "Subject" is that the "Subject" is keyboard "Focusable", while the email body is "Unfocusable". I tried to "SendMessage" which didn't succeed, also "DOM" of the email body window is not available. I investigated "TextRange" pattern, but not found any interface to modify the text.
Thanks.
David