Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build windows Environment in RobotFramework Automation Framework

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Today, I will talk to you about how to build the windows environment in the RobotFramework automation framework, which may not be well understood by many people. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.

Robot Framework is a functional automation testing framework written by python. It has good scalability, supports keyword driver, can test multiple types of clients or interfaces at the same time, and can carry out distributed test execution.

Installation steps:

Python installation

WxPython installation

Robotframework installation

Robotframework-ride installation

1. Python installation is very simple, installation is very simple, I installed python-2.7.14.amd64 version in Mac virtual machine, Baidu cloud disk link: https://pan.baidu.com/s/1yEMHem_N_9MEQxb2T4oUpg password: yas3

2. The installation of wxPython is basically the same as next.

Baidu cloud disk link: link: https://pan.baidu.com/s/1yEMHem_N_9MEQxb2T4oUpg password: yas3

3. When you install robotframework, click pip install robotframework in the cmd window and see Successfully installed robotframework as a sign of success.

4. Robotframework-ride installation. Click pip install robotframework-ride in the cmd window. If you see the following picture, the installation is successful.

The fourth step may encounter the problem: pip install robotframework-ride installation failed, prompt: Retrying (total=4, connect=None, read=None, redirect=None, status=None))

Solution:

Change the pip source to the domestic image

Some domestic images of pip:

Ali Yun:

Http://mirrors.aliyun.com/pypi/simple/

University of Science and Technology of China:

Https://pypi.mirrors.ustc.edu.cn/simple/

Douban (douban):

Http://pypi.douban.com/simple/

Tsinghua University:

Https://pypi.tuna.tsinghua.edu.cn/simple/

University of Science and Technology of China:

Http://pypi.mirrors.ustc.edu.cn/simple/

Modify the source method:

Temporary method

Pip install robotframework-ride-I https://pypi.tuna.tsinghua.edu.cn/simple

Permanent method

Create a pip directory directly in the user directory, such as C:\ Users\ xx\ pip, and create a new file pip.ini, as follows

[global]

Index-url = https://pypi.tuna.tsinghua.edu.cn/simple

Start the RF framework

Enter ride.py in the cmd window and see the following main interface, which means that the installation is successful.

After reading the above, do you have any further understanding of how to build a windows environment in the RobotFramework automation framework? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report