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.
  • 相关阅读:
    常见规格液晶显示器尺寸/点距/分辨率
    Disk genius(Diskgenius)修复硬盘分区表
    IIS上注册.Net
    PowerDesigner中如何导入表结构
    关于VS命名空间的引用
    启动Word时出现“复制文件或文件夹时出错"对话框?
    能够删除的安卓(Android)系统自带程序详细列表和说明
    五种方法 解决Windows最大终端连接数
    查看本机打开的端口
    RAID技术概述
  • 原文地址:https://www.cnblogs.com/frankzs/p/14298946.html
Copyright © 2011-2022 走看看