Forum Discussion

icenamor's avatar
icenamor
Occasional Contributor
7 years ago

Invalid class string: cannot obtain ClassID.

I am trying to do this example:  https://support.smartbear.com/testcomplete/docs/testing-with/advanced/working-with-external-data-sources/files/xml.html  TestWithXPath(): but in the line   Doc = Sys...
  • tristaanogre's avatar
    7 years ago

    It's possible that you don't have version 4.0 of MSXML2 installed.

     

    Change that line to

     

    Doc = Sys.OleObject["Msxml2.DOMDocument"]

    and try again