Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to send the Reults to EXLS
#1
Solved: 11 Years, 4 Months ago
Hi Ankur / Friends,

Can any one pls let me how can we send the result of a test to exl sheet.

In my project i have created a folder with name of Result and in that there is exls with the name of "Result". I want to pass the result of a script from QTP to the exls once after the execution of scripts.

i know "reporter.ReportEvent" this is a commond to send the result to log. but what about to EXLS

Regards
Raj
Reply
#2
Solved: 11 Years, 4 Months ago
Its the same as writing any data to external data sheet...

You need to use Microsoft Excel Object Model for this

Steps are

1) Create Excel App object CreateObject("Excel.Application")

2) Open the file YourObjectName.Workbooks.Open filepath

3) Select the sheet ExcelObj.Sheets.Item

4) Select the cell where you wish to enter the value
ExcelObj.Sheets.Item.Cells(row,column)

Hope this would help you
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 583 11-05-2023, 03:55 PM
Last Post: lravi4u
  Send automatic email notification when test run started helmzshelmz 0 1,068 04-03-2020, 07:54 AM
Last Post: helmzshelmz
  To send Fail Results to mail Naresh 1 2,532 04-23-2015, 08:30 PM
Last Post: babu123
  To send the QTP Results to mail using Thunderbird Naresh 0 2,398 04-03-2015, 03:19 PM
Last Post: Naresh
  How to send QTP status results to mobile Naresh 0 3,018 09-02-2014, 03:50 PM
Last Post: Naresh

Forum Jump:


Users browsing this thread: 1 Guest(s)