qtp script to read last line of a text file
Dim a,b,c
Set a = CreateObject("Scripting.FileSystemObject")
Set b = a.opentextfile("C:\qtp.txt", 1)
i = 0
Do While b.AtEndOfStream <> True
c = b.ReadLine
i = i + 1
Loop
MsgBox c
Showing posts with label qtp script to read last line of a text file. Show all posts
Showing posts with label qtp script to read last line of a text file. Show all posts
qtp script to read last line of a text file-vb script to read last line of a text file
Subscribe to:
Posts (Atom)