Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compare webtable against database.
#2
Solved: 11 Years, 4 Months ago
Hi LTFL,

There are mthods in QTP for webtable object to get the required info.
RowCount- Returns the number of rows in the table.
ColumnCount- Returns the number of columns in the table.
GetCellData -Returns the text contained in the specified cell.
for more details look for webtable object in QTP help.
to compare these with database- you will need to connect to database, get the recordset using your query.
all these info will be there in recordset. which can be compared as required.

hope this info is sufficient to proceed with and let us know if you have any issue, Paste your lines of code as well so that we can help you in better way.

Reply


Messages In This Thread
Compare webtable against database. - by LTFL - 08-27-2009, 10:13 PM
RE: Compare webtable against database. - by Saket - 08-28-2009, 10:30 AM
RE: Compare webtable against database. - by LTFL - 08-28-2009, 03:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Compare WebTable Elements saraiado 1 2,558 06-11-2015, 06:54 PM
Last Post: venkatesh9032
  How to compare two binary values Naresh 0 2,348 09-09-2014, 05:06 PM
Last Post: Naresh
  how to compare excel with datatatble diya 4 5,455 12-04-2012, 05:39 AM
Last Post: diya
  How do I compare 2 text files? avanthika 4 15,027 12-10-2011, 09:03 PM
Last Post: Arul
  How do I do an image compare? typeOpositive 2 5,437 12-08-2010, 06:00 PM
Last Post: typeOpositive

Forum Jump:


Users browsing this thread: 1 Guest(s)