Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DP is not returning the whole table data content
#5
Not Solved
Doing something simple minded like create a web page from Excel. I used three columns and put data into 35 rows and saved as html to my desktop (more rows than would be seen on screen).
Wrote the following code and all the rows were printed.

Code:
numRows = Browser("title:=Book1.htm").page("url:=file:///C:/Users/me/Desktop/Book1.htm").frame("name:=frSheet").Webtable("html tag:=TABLE").GetROProperty("rows")

print "numrows = " & numRows

Set obj = Browser("title:=Book1.htm").page("url:=file:///C:/Users/me/Desktop/Book1.htm").frame("name:=frSheet").Webtable("html tag:=TABLE")

For irow = 2 to numRows
    row = ""
    For icol = 1 to 3
        row = row & ": " & obj.GetCellData(irow,icol)
    Next
    print "row = " & row
Next

I do not understand your problem as DP works fine for me in this situation and in others.
Reply


Messages In This Thread
RE: DP is not returning the whole table data content - by Parke - 01-17-2013, 12:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Read Content inside PDF kotaramamohana 0 1,196 09-02-2020, 05:49 PM
Last Post: kotaramamohana
  Help with Select checkbox from data table value jayraocourts 0 1,244 11-01-2019, 10:25 PM
Last Post: jayraocourts
  how to write the content obtained using the method GetPdfText Anisha 0 1,430 10-24-2017, 08:49 PM
Last Post: Anisha
  How to get center data value in a odd number of rows and columns web table ... sai rajesh 0 2,787 11-13-2013, 10:24 PM
Last Post: sai rajesh
  Data table overwrite the value wajahatawan561 2 4,521 06-25-2013, 03:24 PM
Last Post: ssvali

Forum Jump:


Users browsing this thread: 1 Guest(s)