Micro Focus QTP (UFT) Forums
HAVING PROBLEM IN CREATING OBJECT OF TEST BATCH RUNNER - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: HAVING PROBLEM IN CREATING OBJECT OF TEST BATCH RUNNER (/Thread-HAVING-PROBLEM-IN-CREATING-OBJECT-OF-TEST-BATCH-RUNNER)



HAVING PROBLEM IN CREATING OBJECT OF TEST BATCH RUNNER - mayankchauhan - 04-04-2014

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?