How to capture the page contents
How to capture the web page contents in QTP9?
in Yahoo, there we see so many lables, images, But how to write the script to divide the page interms of tables and texts with in that. Because a web page contains table->rows->columns. Can any body help in this regard.
Re: How to capture the page contents
in descriptive programming u can capture collections of similar objects.
Set oDes = Description.create()
oDes("micclass").value = "WebTable"
Set oDesCOLL = Browser(a).Page(p).childobjects(oDes)
oDescCOLL is the collection of all the WebTables present in the webpage [COLOR="DarkRed"]'p'[/COLOR]
Regards,
Nawab