Friday, February 25, 2011

How to print a table in QTP

Set obj=createobject("Scripting.filesystemobject")
Set of=obj.createtextfile("c:\Shahadat.txt")
For i=1 to 10
x=2*i
of.writeline"2 * "&i&" = "&x
Next

No comments:

Post a Comment