Posts: 4
Threads: 2
Joined: Mar 2011
Reputation:
0
03-22-2011, 04:12 PM
Hi
What is the command to run "Test batch runner" from command line?
I want to run .mtb files from command prompt, it is possible?
Thank you,
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
03-23-2011, 10:59 AM
There is no specific command to run Test Batch Runner. The point is it is possible to run it from the command line. It is an exe named as AQTBatch.exe, so if you to navigate to that path and then you should be able to fire it. it would launch the Test Batch Runner.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 4
Threads: 2
Joined: Mar 2011
Reputation:
0
03-23-2011, 11:58 AM
Thanks for your reply.
I have tried running AQTBatch.exe from command prompt too, but it launches the Test Batch Runner and I need to add the tests and click "Run" Manually.
Is there any way (in QTP 11.0) to run a set of tests directly from command prompt without manual intervention ?
I tried running
C:\Program Files\HP\QuickTest Professional\bin>AQTBatch.exe testing.vbs
(where "testing.vbs" contains a list of test cases)
I have also tried giving
C:\Program Files\HP\QuickTest Professional\bin>AQTBatch.exe testing.mtb
but it opens a new file in test batch runner, rather than picking up the .mtb file.
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
03-23-2011, 01:11 PM
Yes. Thats how it is supposed to work, unless somebody else has discovered anything new.
What exactly are you trying to acheive? I mean i can see if there is a different way to acheive your goal.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 4
Threads: 2
Joined: Mar 2011
Reputation:
0
03-23-2011, 01:52 PM
I want to know if it is possible to run test scripts in a batch file from command prompt directly, without manual intervension (in QTP 11.0) ?
eg: run <AQTbatch.exe> <filename.mtb>