HP UFT use VBScript, so you can create a message box to display to the user the output results
MsgBox "Hello World!"
Or you can simple use the Output tab to see the output results of the script
print "Hello World!"