I have found in help of testComplete 5 the example how it is possible load XML-file, but I need the actual example of code how to create XML-file...Let me know if you have such kind of information...my code does'nt work: oDocument=Sys.OleObject("Msxml2.DOMDocument.4.0"); var DocRoot= oDocument.DocumentElement; but property DocumentElement returns null!
Actually, you should be able to create a new one as well. I have not done so in my own code, creating one from scratch, but the MSDN library has documentation that explains methods that can be used for adding nodes and child nodes etc to the DOM.
Robert, of course you right, creation XML-file from scratch has general decision without special features related to TestCompelte which detaily expalined in the MSDN library. Thanks of lot for your detailed answers.