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.StopLet me know if it helps!!!

