Micro Focus QTP (UFT) Forums
How to do a paste (Ctrl+V) in a webedit box - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to do a paste (Ctrl+V) in a webedit box (/Thread-How-to-do-a-paste-Ctrl-V-in-a-webedit-box)



How to do a paste (Ctrl+V) in a webedit box - pvinay - 02-18-2010

I copied some text from a diff. application A. I cannot use GetROproperty for this object.

Now i want to paste this copied text into a textbox on a webpage and need to do a CTRL+V. Please suggest how can i do this.


RE: How to do a paste (Ctrl+V) in a webedit box - wheelercha - 02-19-2010

Look up SendKeys in the Help Documentation in QTP.

Basically you'll do this after you declare the Shell object.

WshShell.Sendkeys"{^a}"