|
|
| Line 28: |
Line 28: |
| == Projects == | | == Projects == |
| {{:QA/Automation_Services/Projects}} | | {{:QA/Automation_Services/Projects}} |
|
| |
| == Automated Test Frameworks ==
| |
| Basically you need to have python 2.6 running, on linux this is fairly simple, on mac it may require some work. The eternal struggle on a mac is upgrading / installing linux based applications (fink, mac ports, have grown up to solve this problem) We like Homebrew, as the installs are non-destructive to the operating system, and localized to specific users. Without further a do, here are some instructions to get python 2.6 running.
| |
|
| |
| Mac:
| |
|
| |
| Install Brew - [https://github.com/mxcl/homebrew Brew]
| |
| Update Python 2.6 Formula
| |
| brew create git://gist.github.com/743034
| |
| name it python26
| |
| brew install python26
| |
| (Do not run brew install python, as it will install python 2.7.1)
| |
|
| |
| Linux:
| |
|
| |
| Install Pip with the following command sudo easy_install pip
| |
| sudo pip install mercurial
| |
| sudo pip install virtualenvwrapper
| |
| update your ~/.bash_profile
| |
| export WORKON_HOME=$HOME/.virtualenvs
| |
| export PIP_VIRTUALENV_BASE=$WORKON_HOME
| |
| source /usr/local/bin/virtualenvwrapper.sh
| |
|
| |
| To create a new virtualenv you would do mkvirtualenv projecta –no-site-packages. “projecta” would be the name of the project you are using
| |
|
| |
| workon projecta
| |
| install libraries needed in the relevant virtualenv so that you don’t pollute your environment.
| |
| If something goes wrong you can delete the virtualenv without breaking your machine
| |
|
| |
| === Selenium ===
| |
|
| |
| To install Selenium it is a simple case of pip install selenium when in your virtual environment, that you created above
| |
|
| |
|
| == [[/New_Members|New Members]] == | | == [[/New_Members|New Members]] == |
| All new members to the team can find all the details about getting setup. Details on what accounts, what mailing lists, etc can be found on the [[/New_Members|Here]]. | | All new members to the team can find all the details about getting setup. Details on what accounts, what mailing lists, etc can be found on the [[/New_Members|Here]]. |