Automating QTP Test Automation Home Automation Articles Downloads QTP Gotchas Links Books Contact About Site Map
Html Function - GetThis function gets the html source of the browser web page. Sometimes, when you're struggling to extract some data from a webpage, getting the whole thing and then parsing the raw html is a lot easier. If you find an error, or have a suggestion for improvement, Email me and I'll fix it. Download it Here (right-click and then save target as). (NOTE - you can just cut & paste from below, but the formatting will have multiple spaces instead of tabs).
'=========================================================================
Function zHtm_Get zHtm_Get = Browser("micclass:=Browser").object.document.documentElement.outerHTML End Function '========================================================================= |