09-16-2012, 06:50 PM
How can i get all text showing on web page (QTP 11)?
For example,
I want to get into array all the text that appears on the next web page:
http://m.facebook.com/.
I tried the following code without success...
For example,
I want to get into array all the text that appears on the next web page:
http://m.facebook.com/.
I tried the following code without success...
Code:
set objpage = Browser("Facebook").Page("Facebook")
Set childobjdes = Description.Create()
childobjdes("micclass").value = "WebElement"
childobjdes("Visible").Value = true
set allobj = objpage.ChildObjects(childobjdes)