Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to export data from QTP to Excel sheet?
#1
Not Solved
Hi,

I want to export data from QTP to excel sheet and then I need to write the data in Excel sheet.

Following is the script which I prepared.. But it is giving error. Please let me know that what is wrong in below script.

------------------
Code:
display= Browser("Food product").Page("Entry").Frame("Frame").Link("Username").GetROProperty("innertext")

msgbox display

DataTable.Export("D:\Emp")

'To post the value of var in excel sheet

DataTable.Value("Detail",Sheet) = display


----------
Thanks.
Reply
#2
Not Solved
what is the error that you are getting?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to export the output value of a webedit object to a new excel file. mounika6677 1 1,333 04-14-2019, 05:18 PM
Last Post: mounika6677
  Want to read the data from excel and set read value in the JavaTable rajeevk7 0 2,172 07-10-2017, 04:20 PM
Last Post: rajeevk7
  dtLocalSheet empty even though excel file contains data cantorre 2 2,220 05-10-2017, 12:47 PM
Last Post: vidhi
  Reading data from excel sheet serenediva 1 8,874 03-03-2017, 10:07 AM
Last Post: vinod123
Question QTP not performing iterations based on local data sheet Breaker 18 55,311 01-25-2016, 04:32 PM
Last Post: arunshuklainbox

Forum Jump:


Users browsing this thread: 1 Guest(s)