程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

How to build python+selenium automated test environment in the companys internal network

編輯:Python

Install in company Python+selenium Test environment , Because you can't connect to the Internet, you can't use pip Command to install , After many attempts, the installation finally succeeded , I would like to share with you the following summary , I also hope to learn and communicate with you about the problems encountered in automated web testing and discuss with you , I will also irregularly summarize the problems and solutions encountered in the production of test cases to you , Are original, welcome to pay attention to

The installation steps are as follows :

1、 install python-3.8.4.exe

2、 Configure environment variables path   add to python Installation directory and python\Scripts Script execution directory

 

 

3、 install urllib3

cd  C:\Python Erection sequence \urllib3-1.26.7    ( According to the actual installation package storage path )

python setup.py install

 

 

4、 install selenium

cd  C:\Python Erection sequence \selenium-3.141.0 ( According to the actual installation package storage path )

python setup.py install

 

  

5、 open IDLE, Input import selenium Knock back , If no error is reported, the installation is successful

 

 

Welcome to exchange web automation test

2022 Index technology


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved