Microsoft CRM automation through Outlook
Hi, I'm new to the forums and to testing in general but I do have some idea of descriptive programming when automating. I am trying to automate a small part of CRM but I can't figure out how to get Quick Test to recognize the CRM folder. Here is what I have so far:
1. Set tapp = CreateObject("Outlook.Application")
2. Set nsp = tapp.GetNamespace("MAPI")
3. Set tfo = nsp.GetDefaultFolder(olPublicFoldersAllPublicFolde rs)
4. Set ntfo = tfo.Folders("Microsoft Dynamics CRM")
The folder is listed as Microsoft Dynamics CRM in the Mail panel in Outlook and this script is nearly identical to the one on the microsoft msdn site. Yet I keep getting an error on the 3rd line.
Can anyone tell me if what is wrong or a better way to go about automating?