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.
  • 相关阅读:
    web 学习资源整理
    CodeSmith 学习资料收集
    常用 T_SQL 语句
    SQL Server 2000查询分析器自定义查询快捷键
    插入标识列 identity_insert
    c# 上传FTP文件
    (.Net 3.5Sp1)WebForm使用System.Web.Routing
    SPQuery.ViewAttributes
    ChatterBot之linux下安装mongodb 02
    linux端口开放指定端口的两种方法
  • 原文地址:https://www.cnblogs.com/frankzs/p/14298946.html
Copyright © 2011-2022 走看看