I have a QTP script located at C:\Test1
how to run this scipt from command line instead of opening the script in QTP and run it ?
create a simple text file instead.
Write this inside the file
Now save it as .vbs file extension.And just double click it (or try opening this file from command prompt)
<font color="blue">[i]If there is no struggle, there is no progress!
I already mentioned similar stuff in my Test1 file.
what is the command I need to give at command prompt to run this script ?
just write the full path of the file where it is stored and hit enter.
You may want to try
does your script include the vbs to launch qtp using AOM.
If yes, then do use a vbs file with AOM and run the test.
Winds of Change
why do you want to run your scripts in command line?
when things gets harder ,the harder gets going
the below blog will help you