Installing Selenium IDE:
Selenium Client & Web-driver Python Bindings:
1) Install Python 2.7 using the MSI available in the following link:
http://www.python.org/getit/
2) Download Python bindings for Selenium from below:
https://pypi.python.org/pypi/selenium
3) Copy selenium folder from "C:\Users\Dell\Downloads\selenium-2.33.0\py"
to "C:\Python27\Lib"
4) Create a folder named "C:\seltests" and download virtualenv.py script into that folder.
Script is here: https://raw.github.com/pypa/virtualenv/master/virtualenv.py
http://www.python.org/getit/
2) Download Python bindings for Selenium from below:
https://pypi.python.org/pypi/selenium
3) Copy selenium folder from "C:\Users\Dell\Downloads\selenium-2.33.0\py"
to "C:\Python27\Lib"
4) Create a folder named "C:\seltests" and download virtualenv.py script into that folder.
Script is here: https://raw.github.com/pypa/virtualenv/master/virtualenv.py
5) Start command prompt and enter the following command:
cd C:\seltests
C:\seltests\virtualenv.py selenv
You'll get a message saying " installing setup tools & pip is done".
A folder named C:\seltests\selenv will get created containing virtual python
6) Start command prompt and enter the following command:
C:\seltests\selenv\Scripts\pip.exe install selenium
Selenium Server:
1) Download selenium Server: looks like - "selenium-server-standalone-2.33.0"
http://docs.seleniumhq.org/download/
2) Install Java Runtime Environment.
You can refer for installation help: http://www.youtube.com/watch?v=Hl-zzrqQoSE
http://docs.seleniumhq.org/download/
2) Install Java Runtime Environment.
You can refer for installation help: http://www.youtube.com/watch?v=Hl-zzrqQoSE
3) Start Command Prompt and enter the following command:
java -jar selenium-server-standalone-2.33.0.jar
Replace 2.33.0 with the version you have.
Test your installation:
1) Run your test script using virtual python.
For example, if you have created a Selenium based script and saved it inside C:\seltests\test_script.py,
you can run it like this from command prompt.
C:\seltests\test_script.py
For example, if you have created a Selenium based script and saved it inside C:\seltests\test_script.py,
you can run it like this from command prompt.
C:\seltests\test_script.py