Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Importing sheets which have Formulas
#1
Solved: 11 Years, 4 Months, 2 Weeks ago
I have two sheets in xls file. I am using Formula(sum) in Sheet2 with the values of Sheet1. Like "=SUM(Sheet1!A2,Sheet1!B2)".

I have imported this xls file(both sheets) to QTP using DataTable.ImportSheet method. When I run the script, Data table is showing correct values for sheet1 but Sheet2 value is shown as #REF! and the formula is shown as (=SUM([]Sheet1!A1,[]Sheet1!B1)) in local data table sheet.

Any workaround for this? I am using QTP 9.2

Vijay
Reply
#2
Solved: 11 Years, 4 Months, 2 Weeks ago
Hi vijay,
As it is mentioned in the QTP User's Guide that-
If you import a Microsoft Excel table containing combo
box or list cells, conditional formatting, or other special
cell formats, the formats are not imported and the cells are
displayed in the Data Table with a fixed value.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem in using importing data sheet value and design table value praneeth_be 2 2,400 08-19-2009, 12:51 PM
Last Post: Saket
  Problem in using importing data sheet value and design table value praneeth_be 1 1,974 08-18-2009, 08:29 PM
Last Post: basanth27
Rolleyes Importing test scripts used in QTP into QC ritugoyal 0 2,919 07-10-2009, 10:59 AM
Last Post: ritugoyal

Forum Jump:


Users browsing this thread: 1 Guest(s)