Exit Code: 255, 127 returned when ssh is used to execute a command in a remote server in RobotFramework. The command is not inbuilt command but the absolute path is provided.
*** Test Cases ***
open_connection_and_login
Open Connection ${HOST}
Login ${USERNAME} ${PASSWORD}
${res}= Execute Commmand cmd test.qoc
log to console ${res}
Close All Connections
cmd is a command which is not built-in shell command
To execute commands that are not built-in. Directly write them to the terminal using "Write" keyword.
Use Write keyword in SSHLibrary. It pastes the command on the terminal and the command gets executed.