Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fetching values from a web table
#8
Solved: 7 Years, 9 Months, 1 Week ago
Try this Below code, and confirm whether it worked or not?

If Web List Works Use the Below Code.
Otherwise Create a Description Object (Ex: oDesc) and use the same in place of "Weblist"

Code:
Code:
Set temptable = Browser("Browser").Page("page").WebTable("class:=X", "html tag:=TABLE")  
For r = 2 to temptable.RowCount
    For c = 2 to temptable.ColumnCount(r)      
             Set Col1 = Browser("Browser").Page("Page").WebTable("class:=X", "html tag:=TABLE").ChildItem(r,c,"WebList", 0)
                  Col1.Select "XXX"  or DataTable.Value("xxxx", DtlocalSheet)
        Next
Next
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 nistalaramesh - 05-30-2014, 02:32 PM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)