Wednesday, July 13, 2011

Explain Internet Explorer’s DOM object

#
Statement
Meaning
1
Browser("bname").Object.GoBack
Navigates backward one item in the history list
2
Browser("bname").Object.LocationURL
Gets the URL of the page that is currently displayed
3
Browser("bname").Object.StatusText
Sets or gets the text in the status bar for the object
4
Browser("bname").Object.ToolBar
Sets or gets whether toolbars for the object are visible 
           e.g. sText = Browser("QTP - How to get Status").Object.StatusText
            MsgBox sText

No comments: