Line 28: |
Line 28: |
| pip install robotframework-ftplibrary | | pip install robotframework-ftplibrary |
| pip install robotframework-sshlibrary | | pip install robotframework-sshlibrary |
| + | |
| + | You can check if the SSH library installed successfully with: |
| + | |
| + | python -c "import SSHLibrary" |
| + | |
| + | If you find you have problems with the SSH library, reinstalling the support libraries for the SSH library through yum might help: |
| + | |
| + | sudo pip uninstall pycrypto |
| + | sudo yum erase python-crypto |
| + | sudo yum clean all |
| + | sudo yum install python-crypto |
| + | sudo yum install python-paramiko |
| | | |
| Note that selenium needs a browser to drive, so you'll need to install a graphical GUI, you can do this by: | | Note that selenium needs a browser to drive, so you'll need to install a graphical GUI, you can do this by: |
Line 129: |
Line 141: |
| ride.py sme | | ride.py sme |
| | | |
− | === XPath Checker Firefox === | + | === XPath Checker Firefox Plugin === |
| It sometimes is quite tricky to locate the right element in a web page to check or click. One method | | It sometimes is quite tricky to locate the right element in a web page to check or click. One method |
− | that selenium supports is XPaths:http://en.wikipedia.org/wiki/XPath | + | that selenium supports is [http://en.wikipedia.org/wiki/XPath XPaths]. |
| | | |
| In order to develop these, I found the Firefox plugin 'XPaths Checker' particularly useful. | | In order to develop these, I found the Firefox plugin 'XPaths Checker' particularly useful. |
| | | |
| https://addons.mozilla.org/en-US/firefox/addon/xpath-checker/ | | https://addons.mozilla.org/en-US/firefox/addon/xpath-checker/ |