How close and restart agent while test is running.
In middle of test is agent not responding, when I'm closing and restarting the agent, it again recognizing objects.
How can I automatically close and restart Agent.
Search this forum for killall.exe and you will find instructions about how to kill the agent. If you want to then restart it, add a sleep period after killing the agent, and then run the agent again. You will need a polling-type reconnect routine in silktest which tries to call connect and it fails with an exception so you sleep and try again.
Implementing all this won't be trivial. Make sure you can't fix the problem another way first.
Chris R Mead
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.