08-04-2011, 03:09 PM
Native properties of object come in picture when accessing the DOM.
We can access the native properties & methods of any run time obejct in ur application using the object property.
We can access the native properties & methods of any run time obejct in ur application using the object property.
Code:
set ff=Browser("Google").Page("Google").Object.
For each element in ff.all
tagname=element.TagName
innertext=element.innerText
text=text&"Tagname is: "&tagname&" Inner Text is: "&innertext
text=text&vbCrLf
Next
MsgBox(text)