1. Can you get the device from the session ID (i.e. "S1" to "device:DUT")?
2. How can I check if a session is closed and reopen it without using OnSessionNotOpen?
I have inherited a large base of iTest test cases. We are having problems with the devices they are testing crashing. I need a way to reopen sessions to these devices using nothing more than the existing session ID. This is because they seem to crash in one of the testcase's library calls and I only have access to the session ID (i.e. "s1").
Furthermore, I need a way to check if a session is open and if not reopen it. Unfortunately due to the design of the system I have it is not feasible to do this on a OnSessionNotOpen event.
Any help would be greatly appreciated.