I am new to TestComplete and was trying to access an XML document to parse it for some information. I went through the TC help file and I think I need to work through XML DOM object. I copied the example when I ran it is gives out this error:
“Invalid class string: cannot obtain ClassID.” On “Doc = Sys.OleObject("Msxml2.DOMDocument.4.0");” line
I’m positive it has something to do with my OS configuration but don’t know the solution. So any help is highly appreciated.
Hrm... it sounds like you might not have that version of the MSXML DOM Document object installed on your machine. There have been several versions released over the years. Checking my Windows registry, this is part of the MSXML4.dll released in September 2008. Check to see if you have that installed.
Also, the registry key I found appears to make mention of the .NET assemblies that call it. It's possible that this is installed/registered with one of the recent .NET version releases.