08-22-2013, 07:05 AM
smartkarthi -
I dont think any tool has a programmatic compatibility for a manual intervention. The stop button is to hard stop your execution immediately. When the interrupt is received, the application knows to just stop from whatever its current state is.
Your action to perform something on manual click of stop button is a contradiction to the functionality of the stop button.
What is possible is, you may build a form on which you can give a stop button whose click should programmatically stop QTP. Then you can call any function you want once the stop has been clicked.
I dont think any tool has a programmatic compatibility for a manual intervention. The stop button is to hard stop your execution immediately. When the interrupt is received, the application knows to just stop from whatever its current state is.
Your action to perform something on manual click of stop button is a contradiction to the functionality of the stop button.
What is possible is, you may build a form on which you can give a stop button whose click should programmatically stop QTP. Then you can call any function you want once the stop has been clicked.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.