Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to compare excel with datatatble
#4
Solved: 11 Years, 4 Months, 3 Weeks ago
When you import an excel file into QTP table, values stored in first row become column names in QTP table.
For example, if your spreadshed contains these values:
Code:
+------+------+------+------+
|   A  |   B  |   C  |  D   |
+------+------+------+------+
|  a1  |  b1  |  c1  |  d1  |
|  a2  |  b2  |  c2  |  d2  |
|  a3  |  b3  |  c3  |  d3  |
where cell (1,1) contains a1, cell (3,2) contains b3 etc,
then after importing this spreadsheet into the datatable you get:
Code:
+------+------+------+------+
|  a1  |  b1  |  c1  |  d1  |
+------+------+------+------+
|  a2  |  b2  |  c2  |  d2  |
|  a3  |  b3  |  c3  |  d3  |
where cell (1,1) contains value a2, cell (2,2) contains b3 etc.
Values from the first row in the excel spreadsheet are used as column names in QTP datatable.
Reply


Messages In This Thread
how to compare excel with datatatble - by diya - 11-29-2012, 09:18 PM
RE: how to compare excel with datatatble - by kordirko - 12-04-2012, 04:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Compare WebTable Elements saraiado 1 2,580 06-11-2015, 06:54 PM
Last Post: venkatesh9032
  How to compare two binary values Naresh 0 2,369 09-09-2014, 05:06 PM
Last Post: Naresh
  Compare a link name to a column in Excel mv8167 4 3,948 01-23-2012, 07:39 PM
Last Post: mv8167
  How do I compare 2 text files? avanthika 4 15,169 12-10-2011, 09:03 PM
Last Post: Arul
  How do I do an image compare? typeOpositive 2 5,501 12-08-2010, 06:00 PM
Last Post: typeOpositive

Forum Jump:


Users browsing this thread: 1 Guest(s)