how to get visible text from a webpage?
I need to get all visible text (and only visible text) from the page
currently i am using
<font class="small">Code:</font><hr /><pre>
set baseobject=Browser("A2D Management System").Page("A2D Management System")
Reporter.ReportEvent micinfo, 1, text
But this will also return the weblist items and radiogroup items(if there are weblist(s) and radiogroup(s) in the page)
Also I have a Page where this code Returns text which contains a string that is not displayed in the Page (but is part of the html source code).
Is there any way to get only the visible text off the page?
I can't use getvisibletext() or gettextlocation()
I have tried alternatives suggested in the below thread, they all return the same thing.
<a href="http://www.sqaforums.com/showflat.php?Cat=&Board=UBB20&Number=41010 0&Searchpage=12&Main=409824&Words=visi ble+text&topic=&Search=true#Post410100
Re: how to get visible text from a webpage?
I really don't know if that is possible or not. i also want to the same but i was not able to find any such thing in DOM. Though i have digged in deep but this does seems to be a tough task.