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 115: |
Line 127: |
| Here is an outline of that process: https://help.github.com/articles/fork-a-repo | | Here is an outline of that process: https://help.github.com/articles/fork-a-repo |
| | | |
− | ==RIDE== | + | == Additional Tools == |
| | | |
− | The Robotframework has its own IDE called RIDE. It is particularly useful for running individual tests.
| + | There are a number of tools that are useful in developing tests. This section lists a number of these: |
| | | |
− | Info here:
| + | === RIDE IDE === |
− | | + | The Robotframework has its own IDE called RIDE. It is particularly useful for running individual tests |
− | https://github.com/robotframework/RIDE/wiki
| + | during development. More info here https://github.com/robotframework/RIDE/wiki . It be easily installed with: |
− | | |
− | and can be easily installed with:
| |
| | | |
| pip install robotframework-ride | | pip install robotframework-ride |
Line 130: |
Line 140: |
| | | |
| ride.py sme | | ride.py sme |
| + | |
| + | === XPath Checker Firefox Plugin === |
| + | It sometimes is quite tricky to locate the right element in a web page to check or click. One method |
| + | 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. |
| + | |
| + | https://addons.mozilla.org/en-US/firefox/addon/xpath-checker/ |