• +91 9723535972
  • info@interviewmaterial.com

QTP Interview Questions and Answers

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

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners