Google News
logo
QTP/UFT - Interview Questions
How to write data to excel file in UFT?
Code to write data to Excel file in UFT is
filepath = “C:\Bugs\Reports.xlsx”
Set objExcel = CreateObject(“Excel.Application”)
objExcel.Visible= True
Set Wb= objExcel.Workbooks.Open (filepath)
Wb.worksheets(1).Cells(1,1).Value = “FreeTimeLearn” read value from Excel file
Advertisement