04-04-2014, 05:29 PM
(This post was last modified: 04-05-2014, 03:49 PM by mayankchauhan.)
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
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
Test Batch runner exe is (UFTBatchRunner.exe)
Does any one have this solution?
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?