QuickTest Automation Reference basically explains a lot about the process of automating QTP i.e. how to call, run, manage QTP scripts with the help of external programs and the entire QTP AOM. The rest depends on your programming skills in vbscript
For anyone else that had the same problem - I have found that you cannot call another QTP test from an existing QTP test. You can however call a QTP test from a VBS file.
Dim qtApp 'As QuickTest.Application ' Declare the Application object variable
Dim qtTest 'As QuickTest.Test ' Declare a Test object variable
Dim qtResultsOpt 'As QuickTest.RunResultsOptions ' Declare a Run Results Options object variable
Set qtApp = CreateObject("QuickTest.Application") ' Create the Application object
qtApp.Launch ' Start QuickTest
qtApp.Visible = True ' Make the QuickTest application visible
' Set QuickTest run options
qtApp.Options.Run.CaptureForTestResults = "OnError"
qtApp.Options.Run.RunMode = "Fast"
qtApp.Options.Run.ViewResults = False
qtApp.Open "D:\Documents and Settings\fz6pyq\Desktop\QTP Project\tests\VerifyAutoUpdatesDisabled", True ' Open the test in read-only mode
' set run settings for the test
Set qtTest = qtApp.Test
qtTest.Settings.Run.IterationMode = "rngAll"
qtTest.Settings.Run.StartIteration = 1
qtTest.Settings.Run.EndIteration = 1
qtTest.Settings.Run.OnError = "NextStep" ' Instruct QuickTest to perform next step when error occurs
Set qtResultsOpt = CreateObject("QuickTest.RunResultsOptions") ' Create the Run Results Options object
qtResultsOpt.ResultsLocation = "D:\Documents and Settings\fz6pyq\Desktop\QTP Project\tests\VerifyAutoUpdatesDisabled\Res3" ' Set the results location
qtTest.Run qtResultsOpt ' Run the test
MsgBox qtTest.LastRunResults.Status ' Check the results of the test run
qtTest.Close ' Close the test
Set qtResultsOpt = Nothing ' Release the Run Results Options object
Set qtTest = Nothing ' Release the Test object
Set qtApp = Nothing ' Release the Application object
contains calls to other tests, then by running the one test, you would actually be calling multiple tests. So as someone earlier replied, you can call multiple tests.
I'm not sure where or how you found out that you couldn't call another QTP test from a QTP test, because you can.
[/ QUOTE ]
If you try to create an instance of QuickTest Application from a QTP script, it will just hang. The entire code provided in the post before yours is a vbscript. You can run that .vbs file and make it open a QTP instance and run as many number of tests you want to run (not in parallel though). But as far as my knowledge, experimentation & experiences from those experiments go, you can not call another QTP test from a QTP test on same machine...