Micro Focus QTP (UFT) Forums

Full Version: HAVING PROBLEM IN CREATING OBJECT OF TEST BATCH RUNNER
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi I am having a problem with test batch runner in UFT.
previously we were using Multi test manager to execute batches of script. But now uft is not able to support Multi Test Manager. so we are planning to run our suites with Test Batch Runner.
Previously we were using code

Code:
' Create an Instance of Multi Test Manager
Set oMTM = CreateObject("MultiTestManager.Application")
oMTM.Visible = False

' Run the scripts
oMTM.Load "D:\RegionCronJob\xyz.mtm"

oMTM.Run

while ( oMTM.IsRunning )
Wend

Set oRunSettingss = Nothing
Set oReportSettings = Nothing

oMTM.Quit
Set oMTM = Nothing


BUT NOW WE ARE HAVING PROBLEM IN CREATING OBJECT OF TEST BATCH RUNNER.

QTP is throwing an error Activex can't create object
I need to use the same code just on the place of mtm(MULTI TEST ANAGER) we need to use Test batch runner. Test batch runner is having .mtb file format.
Something like this
Code:
"Set oMTM = CreateObject("TestBatchRunner.Application")"

Test Batch runner exe is (UFTBatchRunner.exe)
Does any one have this solution?