Micro Focus QTP (UFT) Forums

Full Version: Capture All text from webpage and copy it...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am a beginner and as per a specific scenario i need to capture all data from google search page.

Ex: search for "qtp automation" in google search and whatever the data is coming as a search result, i need to Select All and copy it and store it in a notepad.

i tried but feeling like i am not able to drive it properly.
Will appritiate if someone can give me the code to copy the text.

<<Summary - Need to copy all text from a google browser>>
Thanks in Advance...
Yes it is possible to get all the text, but why do you want to capture all the text in the entire page, it's unusual scenario so could you please let us know your requirement.
you can use .GetVisibleText for capturing the entire content from a object
(12-26-2014, 11:38 PM)supputuri Wrote: [ -> ]Yes it is possible to get all the text, but why do you want to capture all the text in the entire page, it's unusual scenario so could you please let us know your requirement.

i have to copy all the links on the webpage and paste into word document .
I have already opened word doc and pasted screenshots of webpage  into it.
Now i need to copy and paste links on webpage into word doc