| || |
Extracting attributes from HTML DOM
How do i extract attrbutes using HTML Dom in QTP. I am bale to get the Count. But how do i extract the values of the same.
I have attached the HTML snap shot for the reference.
Set Document = Browser("abc").Page("abc").Frame("GChart_Frame_0") .Object.getElementsByTagName("rect")
lengofg = Document.length
' This returns the count as 3.
I have to print the attributes of the 3rd rect tag.
I have to click the 3rd rect tag which has fill property.