Quantcast
Channel:
Viewing all articles
Browse latest Browse all 43889

Wiki Page: How can you open an XML file using a TestPartner TestScript?

$
0
0
The following TestPartner script details how to open an XML file: Sub Main() Dim fs, f, ts, s     Set fs = CreateObject("Scripting.FileSystemObject")     Set f = fs.GetFile("C:\Documents and Settings\SumaP\Desktop\suma.xml") Open "C:\Documents and Settings\SumaP\Desktop\suma.xml" For Input As #1    Set ts = f.OpenAsTextStream    s = ts.ReadAll     MsgBox s    Set ts = f.OpenAsTextStream    s = ts.ReadAll     MsgBox s End Sub

Viewing all articles
Browse latest Browse all 43889

Trending Articles