I'm working on automation testing based on Robot Framework and adopt SSHLibrary to execute commands on a remote server. But when I tried to execute a Python script that has sys.exit(0) in the end, the keyword Execute Command could not return.
My sample code:
*** Test Cases ***
Test
Open Connection 192.168.1.1
Login root abcd
Execute Command test.py --param1 --param2
I also tried to add another option timeout=60 to Open Connection, but the result was the same.
- Robot framework version: 3.0
- SSHLibrary version: 2.1.2
Any suggestions?
Execute Commandcannot return? What is it doing? Does your test hang?