You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Already restarted, but when executing a simple script of open connection, it is still showing Module Not Found
[ ERROR ] Error in file 'c:\Users\OneDrive\robotAuto\App_Testsuites\Regression\ssh.robot' on line 8: Importing library 'SSHLibrary' failed: ModuleNotFoundError: No module named 'SSHLibrary'
the script which i just copied on the site
*** Settings ***
Documentation This example demonstrates executing a command on a remote machine
... and getting its output.
...
... Notice how connections are handled as part of the suite setup and
... teardown. This saves some time when executing several test cases.
Library SSHLibrary
*** Variables ***
${HOST} localhost
${USERNAME} test
${PASSWORD} test
*** Test Cases ***
Execute Command And Verify Output
[Documentation] Execute Command can be used to run commands on the remote machine.
... The keyword returns the standard output by default.
Open Connection And Log In
${output}= Execute Command echo Hello SSHLibrary!
Should Be Equal ${output} Hello SSHLibrary!
*** Keywords ***
Open Connection And Log In
Open Connection ${HOST}
Login ${USERNAME} ${PASSWORD}
I'm at lost, I don't know the root cause of this anymore.
The text was updated successfully, but these errors were encountered:
Followed all the steps here https://giters.com/robotframework/SSHLibrary#support
Got the following versions:
roboframework : 4.1.3
python : 3.9.7
ssh library : 3.8.0
paramiko : 2.9.2
pscp : release 0.76
win_inet_pton : 1.1.0
Already restarted, but when executing a simple script of open connection, it is still showing Module Not Found
[ ERROR ] Error in file 'c:\Users\OneDrive\robotAuto\App_Testsuites\Regression\ssh.robot' on line 8: Importing library 'SSHLibrary' failed: ModuleNotFoundError: No module named 'SSHLibrary'
the script which i just copied on the site
*** Settings ***
Documentation This example demonstrates executing a command on a remote machine
... and getting its output.
...
... Notice how connections are handled as part of the suite setup and
... teardown. This saves some time when executing several test cases.
Library SSHLibrary
*** Variables ***
${HOST} localhost
${USERNAME} test
${PASSWORD} test
*** Test Cases ***
Execute Command And Verify Output
[Documentation] Execute Command can be used to run commands on the remote machine.
... The keyword returns the standard output by default.
Open Connection And Log In
${output}= Execute Command echo Hello SSHLibrary!
Should Be Equal ${output} Hello SSHLibrary!
*** Keywords ***
Open Connection And Log In
Open Connection ${HOST}
Login ${USERNAME} ${PASSWORD}
I'm at lost, I don't know the root cause of this anymore.
The text was updated successfully, but these errors were encountered: