Micro Focus QTP (UFT) Forums
Help with clipboard - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Help with clipboard (/Thread-Help-with-clipboard)



Help with clipboard - Antonio - 03-24-2009

Hello all, i'm having an issue while i'm trying to copy an image from a browser and send it to a word document or to an excel, or wheatever.

Do you know how can i send the image object in the browser to the clipboard?

Is something like this

Code:
Browser("Google").Page("Google").Frame("Frame").WebTable("Table").Image("Tree").Object.focus()
Browser("Google").Page("Google").Frame("Frame").WebTable("Table").Image("Tree").Copy

So i cant use the Copy argument on that object, is there any other solution u can provide?

btw the object is detected by qtp

Smile


RE: Help with clipboard - Jackomcnabb - 03-25-2009

Why don't you save the image then insert that image into the document you want?


RE: Help with clipboard - Antonio - 03-25-2009

Thx, Any suggestion on how to do that? Big Grin


RE: Help with clipboard - Jackomcnabb - 03-26-2009

Just record the script to do that....