Micro Focus QTP (UFT) Forums
Creating Batch Files - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Creating Batch Files (/Thread-Creating-Batch-Files)



Creating Batch Files - newqtp - 01-20-2008

How do we create batch files for running different qtp scripts in batch?


RE: Creating Batch Files - Rajashekar Gouda - 01-21-2008

To run the scripts in Batch i m following tow methods

1) i have saved all my scripts in Quality Center, in test plan we have a button called "Run", select all the scripts which need to run in batch and click on RUN" it will display a window with the selected scripts. There we will have two more buttons "RUN" and "RUN ALL", if u click run, the first script only get start for running, if u clic RUN ALL then it will get start of running all scripts.

2) If u dont have Quality Center then u can run the scripts by using QTP tool "Test Batch Runner"

START--->All Programs-->Quick Test Professional-->Tools--Test Batch Runner


Click on "Test Batch Runner" there will a add button click on that and i will allow u to add the scripts on by one, add and there will b a button "RUN" click that,it will invoke the QTP and start runnging the scripts in batch mode.

Let me know the result

Regards
Raj