qtp tutorials
hi Friend here you find script Related to ADVANCED QTP
Thursday, 15 December 2011
Create an Excel file, enter some data and save the file through VB script?
1) Dim objexcel
2) Set objExcel = createobject("Excel.
application
")
3) objexcel.Visible = True
4) objexcel.Workbooks.add
5) objexcel.Cells(1, 1).Value = "Testing"
6) objexcel.ActiveWorkbook.SaveAs("f:\exceltest.xls")
7) objexcel.Quit
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment