Python Selenium automated Testing

Source: Internet
Author: User
Tags gz file

I. Environmental construction
    • The preparation tools are as follows: Download python "Python Development Environment" (http://python.org/getit/)
    • Download Setuptools: "Python's Basic Package Tool" (Http://pypi.python.org/pypi/setuptools
    • Download pip: "Python installation package management tool" (HTTPS://PYPI.PYTHON.ORG/PYPI/PIP)

Setuptools is a Python-based package tool that can help us easily download, build, install, upgrade, and uninstall Python packages

Pip is a Python software package installation and management tool, with this tool, we only need a command to be able to easily python any class library.

Windows Environment Installation:

Windows Environment Installation

The first step, the installation of Python development environment package, select the installation path to install, the author downloaded is the latest python2.7.5 version, the installation directory is: C:\Python27.

The second step, install Setuptools through the previous provided Setuptools connection, drag the page to the bottom to find, setuptools-1.3.2.tar.gz file (version will be updated with the time version), the file Unzip, locate the ez_install.py file, and go to the Windows command prompt (Start-run--cmd command, enter) under Execute ez_install.py:

C:\setuptools-1.3>python ez_install.py If you are prompted that Python is not an internal or external command! Don't worry, just add the python environment variable! Desktop My Computer Right-click Menu--Properties--advanced--environment variables--the Path in the system variable is:

Python Selenium automated Testing

Related Article

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.