1.

In UFT, how to write data to excel file?

Answer»

The correct syntax to write data to excel file in UFT is −

filepath = “C:\Bugs\Reports.xlsx”Set objExcel = CreateObject(“Excel.Application”)objExcel.Visible = TrueSet Wb= objExcel.Workbooks.Open (filepath)Wb.worksheets(1).Cells(1,1).Value = “TutorialPoints” read value from Excel file


Discussion

No Comment Found