I think I asked this question about a year ago but I did not mention the OTA Part. At that time the answer was to kill the UFT process. I am looking for a more gentile way.
Is there a way to close HP UFT 12.x after the run is completed?
I have seen this code(I forgot the source. Apology given.)
Example; if td is your QC object then the disconnect code will be like this
Now is there a way to close UFT?
Something such as
When in Florida, Don't Tampa with the code. I made this up.
If the test was started from ALM/QC/TD/whatever they call it now, then you can set the Remote Agent to close UFT after the run. If you're starting it directly... I'm not sure.
I'm starting it directly. Sometimes from Excel and sometimes from a .vbs script.