Micro Focus QTP (UFT) Forums
How to catch the script execution when QTP scripts are executed from command line - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: How to catch the script execution when QTP scripts are executed from command line (/Thread-How-to-catch-the-script-execution-when-QTP-scripts-are-executed-from-command-line)



How to catch the script execution when QTP scripts are executed from command line - Sreeni.lutukurthy - 03-19-2015

Hi Ankur & Team,

I have a query on QTP execution from command prompt.

How to catch the script execution when QTP scripts are executed from command line

looking for executing the existing scripts from Specflow. Approach i took is using process.start (in C#) and call the .vbs file.

here the problem is .vbs file exits before script completion. how can we wait for the script to complete.

other ways can be checking the status of a script from xls (script completion updates the xls as "completed")

but looking for a option where i can capture from execution.

can you help in resolving this ?

thanks in Advance

Sreeni