zoukankan      html  css  js  c++  java
  • 【robotframework】Win10安装Robotframework

    总体介绍

    在Win10上安装robotframework的步骤记录

    前置条件

    Python3已经安装完毕(详见https://www.cnblogs.com/frankzs/p/14297535.html)

    详细步骤

    1. 打开命令行,执行"pip install robotframework",执行安装:

    (py3env) D:\venv\py3env\Scripts>pip install robotframework
    Looking in indexes: http://repo.huaweicloud.com/repository/pypi/simple
    Collecting robotframework
      Downloading http://repo.huaweicloud.com/repository/pypi/packages/38/43/e03efaa547a3158f0745c5ea7f1eafebd69d46f2c9aece3a8ba21992adc9/robotframework-3.2.2-py2.py3-none-any.whl (623 kB)
         |████████████████████████████████| 623 kB 3.3 MB/s
    Installing collected packages: robotframework
    Successfully installed robotframework-3.2.2

    注意:如果不指定robotframework版本,默认安装最新版本,当前为3.2.2。如果需要指定版本,则带上版本号执行"pip install robotframework==3.2.2"

    2. 安装完验证,打开命令行,运行"robot --help",则会打印robot相关帮助信息:

    robot --help
    Robot Framework -- A generic automation framework
    
    Version:  3.2.2 (Python 3.8.7 on win32)
    
    Usage:  robot [options] data_sources
       or:  python -m robot [options] data_sources
       or:  python path/to/robot [options] data_sources
       or:  java -jar robotframework.jar [options] data_sources
    
    Robot Framework is a generic open source automation framework for acceptance
    testing, acceptance test-driven development (ATDD) and robotic process
    automation (RPA). It has simple, easy-to-use syntax that utilizes the
    keyword-driven automation approach. Keywords adding new capabilities are
    implemented in libraries using either Python or Java. New higher level
    keywords can also be created using Robot Framework's own syntax.
  • 相关阅读:
    java List按照对象的属性进行分组
    postgresql数据库大量锁表的问题解决
    postgresql 并发update下导致的死锁问题
    Spring Boot 2.X(十):自定义注册 Servlet、Filter、Listener
    Spring Cloud(一):入门篇
    Spring Boot 2.X(九):Spring MVC
    Spring Boot 2.X(八):Spring AOP 实现简单的日志切面
    Spring Boot 2.X(七):Spring Cache 使用
    Spring Boot 2.X(六):Spring Boot 集成 Redis
    Spring Boot 2.X(五):MyBatis 多数据源配置
  • 原文地址:https://www.cnblogs.com/frankzs/p/14298946.html
Copyright © 2011-2022 走看看