For those people liking things from a command prompt here a nice example of powershell commandline interacting with HP UFT

1. Put guitest1,guitest2,guitest3 in c:\tests
2. close hp uft
3. run the powershell script from start, powershell ise (just copy paste the powershell script and run)


# Add-Type -Path "C:\Program Files (X86)\HP\Unified Functional Testing\bin\QTObjectModelLib.dll"
$($(Get-Date -Format o) + ":")  + "Start time"
$qtApp = New-Object -comobject QuickTest.Application -strict
# $qtTest = New-Object -comobject QuickTest.Test -strict
# $qtResultsOpt = New-Object -comobject QuickTest.RunResultsOptions
$($(Get-Date -Format o) + ":") + "UFT created"
#Show  methods and properties
$qtapp | get-member
# $($(Get-Date -Format o) + ":") + "Methods and properties shown"

# Make the QuickTest application invisible
$qtApp.Visible = $false 
$($(Get-Date -Format o) + ":") + "UFT invisible"
# Start QuickTest
#breaks  in XEN desktop    
$($(Get-Date -Format o) + ":") + "Launched without test"

#Make  the QuickTest application visible
$qtApp.Visible = $True 

$($(Get-Date -Format o) + ":") + "HP UFT is launched completely"

#Open  some testcases and add them to solution explorer
#No  clue on how to open an existing solution but able to add tests to the new one

$qtapp.addtest($testLocationPath +"GUITest1",$true)
$qtapp.addtest($testLocationPath +"GUITest2",$true)
$qtapp.addtest($testLocationPath +"GUITest3",$true)