I'm not sure how this helps you but you can get details of the running processes via VBScript.
To identify the processes started by QTPro using VBScript you can do this:
1. Get the processid for Quick Test Pro
2. Get all the processes that have that ID as a parentprocessid
<font class="small">Code:</font><hr /><pre>
'1.-- Get the process id for QTPro
set objWMI = GetObject("winmgmts://.")
set colProcess = objWMI.ExecQuery("Select * from Win32_process Where Name = 'QTPro.exe'")
for each objProcess in colProcess
PID = objProcess.ProcessID
'2. -- Get all the processes that have a matching parentprocessid
set colprocess = objWMI2.ExecQuery("Select * from Win32_process Where ParentProcessId = " & pid)
for each objprocess in colProcess
sob = "Name: " & objProcess.Name & vbcrlf
sob = sob & "ID: " & objProcess.ProcessID & vbcrlf
sob = sob & "Command line: " & objProcess.CommandLine & vbcrlf
sob = sob & "Startup date: " & objProcess.CreationDate & vbcrlf
sob = sob & "Description: " & objProcess.Description & vbcrlf
sob = sob & "Exe Path: " & objProcess.ExecutablePath & vbcrlf
sob = sob & "Parent Process ID: " & objProcess.ParentProcessId & vbcrlf
sob = sob & "Owner: " & strDomain & "\" & strUser & vbcrlf
Everywhere's within walking distance if you have enough time.
Ok I did some testing on that. After I started the test via TestDirector the "QCUtil.CurrentRun" is getting created. If I then close / reload the test and run it manually in QTP the "QCUtil.CurrentRun" does still exist. If I log out from TestDirector the "QCUtil.CurrentRun" does not any more exist (Is Nothing = true).It is possible this way but a little bit tricky.
I found a short reference regarding the QCUtil Object in the Help documentation of QTP. But it refers to the "Quality Center Open Test Architecture Guide". Does anybody know where this documentation is located or can be get?