Yep. Just call the object with the action....
Browser(something).Page(page).object(name).whatever.
All the HTML id will do is allow you to find the object on the page. It's a unique identifier for the object.
you can now iterate throught the rows and cell once the tableobject is uniquely identified like so:
This example would sum dollar amounts in each row column 4
Browser(something).Page(page).object(name).whatever.
All the HTML id will do is allow you to find the object on the page. It's a unique identifier for the object.
you can now iterate throught the rows and cell once the tableobject is uniquely identified like so:
Code:
For x =2 to Browser(browserobject).Page(pageobject).WebTable(tableobject).RowCount
y = y + cdbl(trim(replace(Browser("browserobject").Page("pageobject").WebTable("tableobject").GetCellData(x, 4),"$","")))
next
This example would sum dollar amounts in each row column 4