Difference between revisions of "Using Selenium"

From PeformIQ Upgrade
Jump to navigation Jump to search
(Created page with ' =Some Useful References= Category:Selenium')
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Some Useful References=
==Getting Running on Cygwin==
See http://atbrox.com/2009/09/21/how-to-get-pipvirtualenvfabric-working-on-cygwin/
#  Install Cygwin
#  Install paramiko
#  Load setuptools and other utility packages
#  Install pip and virtual environment utility packages
==Cygwin Prerequesistes==
Install the following modules:


=Some Useful References=
* python
* python-paramiko
* python-crypto
* gcc (3.4.4-999)
* wget
* openssh
 
==Installing setuptools==
 
Setuptools are required for installing the rest of the required Python packages.  Instructions for Cygwin are found on the setuptools pages—but just enter the following and you’ll be all set:
<pre>
$ wget http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c9-py2.5.egg
$ sh setuptools-0.6c9-py2.5.egg
</pre>
 
===Install pip and virtualenv===
 
Install pip, virtualenv and virtualenvwrapper
 
The virtualenvwrapper extension to virtualenv streamlines working with multiple environments and is useful for partitioning development and test environments.
 
<pre>
$ easy_install pip
$ easy_install virtualenv
$ easy_install virtualenvwrapper
</pre>
 
Finally create a working directory for your virtual Python environments.


<pre>
$ mkdir ~/.virtualenvs
</pre>


When working with an environment named myenv, all packages will be installed in ~/.virtualenvs/myenv.


[[Category:Selenium]]
[[Category:Selenium]]

Latest revision as of 23:13, 1 October 2011

Some Useful References

Getting Running on Cygwin

See http://atbrox.com/2009/09/21/how-to-get-pipvirtualenvfabric-working-on-cygwin/

  1. Install Cygwin
  2. Install paramiko
  3. Load setuptools and other utility packages
  4. Install pip and virtual environment utility packages

Cygwin Prerequesistes

Install the following modules:

  • python
  • python-paramiko
  • python-crypto
  • gcc (3.4.4-999)
  • wget
  • openssh

Installing setuptools

Setuptools are required for installing the rest of the required Python packages. Instructions for Cygwin are found on the setuptools pages—but just enter the following and you’ll be all set:

$ wget http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c9-py2.5.egg
$ sh setuptools-0.6c9-py2.5.egg

Install pip and virtualenv

Install pip, virtualenv and virtualenvwrapper

The virtualenvwrapper extension to virtualenv streamlines working with multiple environments and is useful for partitioning development and test environments.

$ easy_install pip
$ easy_install virtualenv
$ easy_install virtualenvwrapper

Finally create a working directory for your virtual Python environments.

$ mkdir ~/.virtualenvs

When working with an environment named myenv, all packages will be installed in ~/.virtualenvs/myenv.