Question: how to run qtp scripts in batch?
Answer: Close the file.
Right click on MyVbsTest. vbs click on Edit.
Make sure UFT is installed in your system and test has been created.
Copy the code mentioned below and paste in the file. Replace the testPath with your QTP/UFT driver path.