Under Windows operating system, the Robot+selenimu+python environment is built

Source: Internet
Author: User
Tags gz file

= = Installation materials and steps: ========================================================================

1. Install Python, I am using 2.7.4 version (Python version, recommended under 2.7.4, I have tried 2.7.10 and 3.4 versions, the results Robotframework-ride failed to install successfully)

(Installation package, double-click installation)

2. Configure the Python environment variable (System environment variable, add path, the corresponding value is generally C:\Python27; C:\Python27\Scripts, my own system directory is on the D drive, so my path is: d:\python27;d:\python27\scripts)

3. Install pip (Download get-pip.py First, then switch to get-pip.py directory in cmd, execute command python get-pip.py)

Note: If this step fails, alternative scenarios can be used, see step 10

4. Install robotframework (CMD window, CD to pip installation directory, execute pip install robotframework command)

5. Install Wxpython (executable program, double-click to install)

6. Install robotframework-ride (CMD window, CD to pip installation directory, execute pip install robotframework-ride command)

7. Install Selenium (CMD window, CD to pip installation directory, execute pip install-u Selenium command)

8. Install selenium2library (CMD window, CD to pip installation directory, execute pip install robotframework-selenium2library command)

9. After the installation is successful, you can start robotframe-ride by typing the ride.py command in CMD and start your automated journey.

10. Step 3 failure, install PIP alternative

10.1 Download Unzip the setuptools-15.2.tar.gz file, go to any directory, cmd into the corresponding directory, execute Python ez_setup.py

10.2 Download unzip pip-1.5.4.tar.gz to any directory, cmd into the corresponding directory, execute python setup.py install

10.3 cmd Switch to: \python27\scripts Execute easy_install PIP command

= = specific steps and transduction: ========================================================================

1. Install Python (version 2.7.4),

2. Configure Python environment variables

Remember to verify that the Python installation succeeded by typing the python--version command in the cmd window and that the version number was installed successfully.

3. Install pip (Download get-pip.py First, then switch to get-pip.py directory in cmd, execute command python get-pip.py)

Command interface:

After the installation successful interface:

If the PIP is installed successfully, you can check it using the PIP--version command

4. Install robotframework (CMD window, CD to pip installation directory, execute pip install robotframework command)

Command interface:

Installation Successful interface:

Authentication interface: (Verification command: Pybot--version)

5. Installing Wxpython

Double-click Install, install path Select the default path, generally in the Python installation path of the Lib directory, Robert is also installed in this directory

6. Install the Robotframework-ride,cmd window and perform pip install Robotframework-ride

7. Install Selenium (CMD window, CD to pip installation directory, execute pip install-u Selenium command)

8. Install selenium2library (CMD window, CD to pip installation directory, execute pip install robotframework-selenium2library command)

9. After the installation is successful, hit the ride.py command in CMD and start the Robotframework-ride

10. Step 3 failure, install PIP alternative

10.1 Download Unzip the setuptools-15.2.tar.gz file, go to any directory, cmd into the corresponding directory, execute Python ez_setup.py

10.2 Extract pip-1.5.4.tar.gz to any directory, cmd into the corresponding directory, execute python setup.py install

10.3 cmd Switch to: \python27\scripts Execute easy_install PIP command

After the PIP is successfully installed, enter the PIP--version check

Under Windows operating system, the Robot+selenimu+python environment is built

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.