Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fetching values from a web table
#3
Solved: 7 Years, 9 Months, 3 Weeks ago
Please try below code to fetch values from webtable:

Code:
Dim a
iRowCount = Browser("Browser").Page("Page").WebTable("WebTable").RowCount
ReDim a(iRowCount - 1)
For iRow = 2 to iRowCount
    a(iRow-2) = Browser("Browser").Page("Page").WebTable("WebTable").GetCellData(iRow,1)
Next

Values will be in array a.
Reply


Messages In This Thread
Fetching values from a web table - by qapandit - 12-11-2013, 10:00 PM
RE: Fetching values from a web table - by kgovadav - 04-19-2014, 02:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can QTP handle slick grid table in a web page qtplearner88 2 4,305 10-01-2019, 10:44 AM
Last Post: shilpi952
  unable to rowcount in web table manoj84monu 1 2,812 06-13-2016, 04:46 PM
Last Post: Anu1234
  Fetching total number of records inside a webtable vidya2k2 2 3,667 06-15-2015, 02:55 PM
Last Post: venkatesh9032
  GetRows() not fetching the exact record from the recordset Saranyaciet2 0 2,670 05-27-2015, 11:15 AM
Last Post: Saranyaciet2
  table output values shipu 1 2,261 01-24-2014, 10:06 AM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)