Hi Raiman,
I hope this helps, this is the basic flow. The vncStart never comes out if the unit exists but connect fails. Now I have seen the same type of behavior in KRDC (linux RDP/VNC client)
for n in rang(200):
wait("reboot.png", 6).click()
sleep(2)
# function in our code, hence 2 sleeps
sleep(5)
vncStop()
sleep(70) # reboot with 20 sec grace; sometimes reboot takes longer
vncStart(ip=unit['ip'], port=5900, password=unit['passwd'], connectionTimeout=10, timeout=120000)
sleep(2)
Hi Raiman,
I hope this helps, this is the basic flow. The vncStart never comes out if the unit exists but connect fails. Now I have seen the same type of behavior in KRDC (linux RDP/VNC client)
for n in rang(200): "reboot. png", 6).click() ip=unit[ 'ip'], port=5900, password= unit['passwd' ], connectionTimeo ut=10, timeout=120000)
wait(
sleep(2)
# function in our code, hence 2 sleeps
sleep(5)
vncStop()
sleep(70) # reboot with 20 sec grace; sometimes reboot takes longer
vncStart(
sleep(2)