09-22-2010, 06:38 PM
Hi,
You can try the following piece of code at the point where you want the QTP Test run to be stopped.
Let me know if it helps!!!
You can try the following piece of code at the point where you want the QTP Test run to be stopped.
Code:
Set qtpApp = CreateObject("QuickTest.Application")
qtpApp.Test.Stop
Let me know if it helps!!!