I've used it in the past to verify text strings in a pdf file. I would select all text,cipy to the clipboard and do my string comparisons. With the fancy pants version of UFT, there probably a much better way to do this.
Patience is like bread I say.... I ran out of that yesterday.
This is used to store (or operate against) the clipboard information during the automation. Whenever we have a requirement like comparing the text with some data shown in Application Under Test we can use this object.
Dim strActualMsg ' For Storing the actual text shown durig the automation
Dim chkText ' For storing the text that needs to be compared
Set clipboardObj = CreateObject("Mercury.Clipboard") ' Setting clipboard object
Set WshShell = CreateObject("WScript.Shell") ' Setting shell object for performing SendKeys operation