Difference between revisions of "Using Selenium"

From PeformIQ Upgrade
Jump to navigation Jump to search
(Created page with ' =Some Useful References= Category:Selenium')
 
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/
1.  Install Cygwin
2.  Install paramiko
3.  Load setuptools and other utility packages
4. xxx
==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.


=Some Useful References=
<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]]

Revision as of 17:57, 25 July 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. xxx

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
<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

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.