Contributor.. Contributor..

UFT related query - Accessing .pst files in Outlook from UFT

We are able to access email threads and alerts in Outlook from UFT. Is there a way we can similarly access such mails from UFT in our Outlook .PST as well ?

1 Reply
Micro Focus Expert
Micro Focus Expert


There is no built-in way to do it from UFT. Now, exploring UFT external options, aside from Outlook API which I guess is the one you used already, you may need to find a way to read PST binary format somehow.

In this direction, It seems you can use PST file format SDK for this as described in the Microsoft document below:
Understanding the Outlook MS-PST Binary File Format

I have no experience with it, but if this is something that cannot be accessed/used directly using VBScript, we may build a DLL using .Net and load it from UFT using DotNetFactory. See an example here.


The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.