机器人框架_机器人框架:基础

本文介绍了机器人框架的基础知识,包括其用途和应用场景。通过链接翻译自Medium的文章,为读者提供了深入理解这一框架的起点。
摘要由CSDN通过智能技术生成

机器人框架

Robot Framework is Test automation framework which is Python based. This framework supports writing object-page model in keyword driven methodology.

机器人框架是基于Python的测试自动化框架。 该框架支持以关键字驱动的方法编写对象页面模型。

One of the benefits of choosing Robot Framework over other testing framework is it’s tendency of making it easier for Business people to write their own test-cases without any programming knowledge.

选择Robot Framework而不是其他测试框架的好处之一是,它倾向于使业务人员更容易编写自己的测试用例,而无需任何编程知识。

One of the other benefits of choosing it for is it’s community support and it’s log files. It has very descriptive logs including complete debugging capabilities through readable logs. It also has it’s interface with python where writing custom functions can’t be easier then any other framework. As because of data-science usage of python is increasing, the on-boarding of data-scientist on this platform becomes easier.

选择它的另一个好处之一是社区支持和日志文件。 它具有描述性很强的日志,包括通过可读日志的完整调试功能。 它还具有与python的接口,在其中编写自定义函数比其他任何框架都容易。 由于python的数据科学用途不断增加,因此该平台上数据科学家的入职变得更加容易。

That all about it’s benefits lets right a simple test-case in Robot Framework.

所有这些优点使我们可以在Robot Framework中实现一个简单的测试用例。

先决条件: (Prerequisites:)

Let’s go through some prerequisites.

让我们通过一些先决条件。

  • PyCharm

    药香
  • Python

    Python
  • Robot Framework Library

    机器人框架库
  • Robot Framework Selenium Library

    机器人框架Selenium库

建立: (Setup:)

安装PyCharm (Installing PyCharm)

For using your tool of choice, my personal preference is PyCharm as it’s community version is easy to use and as it supports python and multiple other plugins it is beneficial. You can use which ever tool you seem used to i.e. VS Code or Eclipse.

对于使用您选择的工具,我个人比较喜欢PyCharm,因为它的社区版本易于使用,并且它支持python和其他多个插件,因此非常有用。 您可以使用似乎习惯于使用VS Code或Eclipse的任何工具。

You can download PyCharm from here.

您可以从此处下载PyCharm。

安装Python (Installing Python)

You can install Python Robot

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值