程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
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

How to build the company's internal network Python+selenium More articles on automated test environments

  1. Ten minutes to build quickly Python+Selenium Automated test environment ( With video tutorial )

    The article begins with the official account of WeChat : Love code brother Ready to install the package : One : install python:   double-click python-3.7.6.exe Executable files 2. Click next to install : 3. The installation is completed as shown in the figure : Verify that the environment is installed successfully :   ...

  2. python+selenium Automated test environment installation

    Because when you install your own automated test environment , There have been many problems , I've sorted out the installation steps , Thank those who have helped me . 1. install python, I'm pretending to be 3.5 edition , There are also many installation steps on the network , Just shine on it ( In fact, the next step is OK ) No ...

  3. python+selenium Automatic test environment construction

    selenium  It's a web Automated testing tools for , Many students who study automatic learning function begin to choose selenium , Compared to it QTP There's a lot, a little bit : *   free , There's no need to crack it any more QTP And it's a big headache *   small , For different languages ...

  4. Linux Build... In the environment python+selenium+webdriver Environmental Science

    1. Download and install python, General installation linux System , Bring with you python, be python No need to install . To download it, you can download it on the official website : Or use the following command to install : sudo apt-get install python ...

  5. python selenium Automated test environment installation

    Be careful :2.7 and 3.0 The syntax of this version is somewhat different Install automated test software  selenium( Address http://www.seleniumhq.org/download/) Installation steps : 1. install pythone Running environment ...

  6. [ turn ] structure Python+Selenium2 Automated test environment ( One )

    I haven't understood automation for a long time , Recently, I found a lot of things precipitated in the project , Regression test effect Very low rate , Therefore, it is necessary to consider building automation to provide small efficiency in all links . Because of the busy requirements and product process specification , At present, there are relatively few researches on testing technology . But no ...

  7. Python+Selenium(1)- Environment building

    One ,Selenium brief introduction Selenium It's the most popular at the moment web Automated test tool , Also used in web crawlers , Updated to 3 Version above . 1, Components It provides the following web Automated test components : Selenium IDE,Fi ...

  8. Python+Selenium+webdriver Environment building (windows) And related resources download link

    Today, let's record the test rookie alter A little bit about... At the beginning of testing python+Selenium+webdriver Environment building experience and resource sharing . Welcome to exchange and study , To criticize and correct . One .Python Download and install of 1.pytho ...

  9. Jenkins Continuous integration project construction and practice —— be based on Python Selenium automated testing ( Free style )

    Jenkins brief introduction Jenkins yes Java Write a very popular continuous integration (CI) service , Come of Hudson project . therefore Jenkins and Hudson Functions are similar . Jenkins Support various version control tools , Such as CVS.S ...

  10. Python & Selenium & Pycharm Environment building

    Recent research python+selenium Conduct automated tests . And then you use python The development tool is Pycharm. then , Today I'll talk about how to build a complete set of automated test environment . install python First , install python ...

Random recommendation

  1. my angularjs Learning the source code 3—— Dirty detection and data binding

    Preface For the convenience of the following description , We'll save the object of the module modules It's called module caching . Here's an example of our tracking <div ng-app="myApp" ng-controller='myCtrl ...

  2. Struts2 interceptor Summary of experience

    1. interceptor call Spring In container bean stay interceptor It is often necessary to call Spring Bean The need for , It's actually very simple and Struts2 Of Action Just the same configuration . Spring ...

  3. MBProgressHUD Detailed explanation

    1,MBProgressHUD Common properties and usage Demo - (void)testMBProgressHUD { NSLog(@"test MBProgressHUD "); /* want ...

  4. vue PC In the end project userinfo problem

    stay vue2 Projects built with scaffolding in , The back end provides an interface to get data . When doing the first project in the company, I didn't know the docking process in the company , As a result, the follow-up code was messed up by an interface , This interface is the interface to get user information ——'usre/info'. Such as ...

  5. 【 data structure 】 Algorithm LinkList (Add Two Numbers)

    Two integers represented by a linked list , Each node contains a number . The numbers are stored in the reverse order of the original integers , Make the first number at the beginning of the list . Write a function to add two integers , Returns and in the form of a linked list . Solution: Create a new linked list C, however ...

  6. less Write keyframe animation

    @keyframes Keyframe animation is written in less In the time , Be sure to write in all {} outside , Can not be {} The parcel Even at the end of the code Otherwise an error Compilation resulted in incorrect C ...

  7. C Is there anything in the language like C++ Inside sort Function like function ? Yes !

    C Library function - qsort() describe C Library function  void qsort(void *base, size_t nitems, size_t size, int (*compar)(const void ...

  8. Reading notes ~ Nmap Penetration test guide

    Record Nmap Options and scripts , For reference only ... In addition to port scanning , It seems that other scripts are inferior , It feels like there should be no special gadget to use , But you can still see , The options and scripts are quite rich . Nmap Use the help starnigh ...

  9. HDU 1083 Courses 【 Bipartite graph complete matching 】

    Portal :http://acm.hdu.edu.cn/showproblem.php?pid=1083 Courses Time Limit: 20000/10000 MS (Java/Others)  ...

  10. c# Static polymorphism and dynamic polymorphism

    C#  polymorphism Polymorphism means that there are multiple forms . In the object-oriented programming paradigm , Polymorphism is often manifested as " An interface , Multiple functions ". Polymorphism can be static or dynamic . In static polymorphism , Function response occurs at compile time . In the dynamic ...


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