Sample trigger using powershell. (remove the comments if exceeded 1024 limit)
$tsFolderName = "Root\***\***\***\"
$tSetName = "LISA_TestSet"
$hpqcURL = "http://***/qcbin"
$username = "***"
$tsPassword = "***"
$qcDomain = "***"
$qcProject = "***"
$connObject = new-object -comobject TDApiOle80.TDConnection -strict
$connObject.InitConnectionEx($hpqcURL)
$connObject.Login($username, $tsPassword)
#Connect to project
$connObject.Connect($qcDomain, $qcProject)
$TSetFact = $connObject.TestSetFac
$tsTreeMgr = $connObject.TestSetTreeManager
$tsFolder = $tsTreeMgr.NodeByPath($tsFolderName)
$tsList = $tsFolder.FindTestSets($tSetName)
$theTestSet = $tsList.Item(1)
write-host Test ID:$theTestSet.ID
#Start the scheduler on the local machine.
$tsScheduler = $theTestSet.StartExecution("")
$tsScheduler.RunAllLocally = 1
$tsScheduler.LogEnabled = 1
$tsScheduler.Run()
# Need to sleep, else run will fail
Start-Sleep -s 1
$status = $tsScheduler.ExecutionStatus
write-host Log: $tsScheduler.ExecutionLog
write-host Status: $status.Finished