Welcome to MSDN Blogs Sign in | Join | Help

Having trouble with WTT Logger from your WDTF script?

Just a quick note, since someone asked about this recently on one of the WDTF support aliases and for a change, I actually knew the answer without looking it up.

The sample scripts will try to create a COM automation object from the ProgId WTTLogger.Logger.

The file you are looking for is named WTTLogCM.Dll, and all you need to do is register it:

  • Open a command prompt (administrative, I believe).
  • Regsvr32 <path to WTTLogCM.DLL>
  • Popup should say DllRegisterServer succeeded.

That’s it!  You can unregister it later with regsvr32 /u.

You can find the file in the WDK- in the server 2008 WDK (6001.18002) it lives in tools\wdtf\<arch>\redist\Extras.  If you look through the WDK tree, you may also find a wttlog.dll- wrong one!  For the curious, that’s got a direct call interface for native code apps- but that’s not suitable for scripting.

Happens I’ve been developing a couple of COM automation in-process servers of the same type for some of my own test tools, and I live and die by WTT, anyway- so for a change, the answer was a no-brainer…

Published Thursday, July 30, 2009 4:42 AM by BobKjelgaard
Filed under: ,

Comments

No Comments
New Comments to this post are disabled
 
Page view tracker