09-17-2012, 02:23 PM
(This post was last modified: 09-17-2012, 02:37 PM by daniel_QTP.)
Actually it works, but I get the texts I do not see on the screen.
for example,
<input type="hidden" autocomplete="off" name="_fb_noscript" value="true" />
How can I get only the text that I see on the screen? and how I can work with any string and string separately? I mean, I have the ability to reach all the text on the screen separately and not all the text as one group
Thank you very much!
I tried the following code:
I got an array which is filled with empty values
for example,
<input type="hidden" autocomplete="off" name="_fb_noscript" value="true" />
How can I get only the text that I see on the screen? and how I can work with any string and string separately? I mean, I have the ability to reach all the text on the screen separately and not all the text as one group
Thank you very much!
I tried the following code:
Code:
strPageText=Browser("Facebook").Page("Facebook").Object.body.innertext
strPageText= Split(strPageText,chr(10))
I got an array which is filled with empty values