Open topic with navigation
The Clipboard object is used to manipulate text and graphics on the Clipboard. Use this object to copy, cut, and paste text in a UFT script.
The object has the same methods as the Clipboard object available in Visual Basic:
For details on these methods, see http://msdn.microsoft.com/library/en-us/vb98/html/vbobjclipboard.asp?frame=true.
Set cb = CreateObject("Mercury.Clipboard") cb.Clear cb.SetText "TEST" MsgBox cb.GetText