Question - How to write data to excel file in UFT?
Answer -
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 = “interview” read value from Excel file