当前位置:网站首页>【自动化测试】——robotframework实战(二)新建测试用例
【自动化测试】——robotframework实战(二)新建测试用例
2022-07-17 05:21:00 【winkiii】
安装完成RIDE并在桌面生成快捷方式后,双击打开,界面如下图所示。
新建测试用例
- 新建项目。点击编辑器左上角 File-New project,Type 选择Dictionary,Format 选择ROBOT。
- 新建测试集。右键点击刚刚新建的项目,选择 New Suite,Type 选择File,Format 选择ROBOT。
- 新建测试用例。右键点击刚刚新建的测试集,选择 New Test Case。
- 新建资源。右键点击刚刚新建的项目,选择 New Resource,Type 选择TXT。
- 新建用户关键字。右键点击刚刚新建的资源,选择 New User Keyword。
创建完成后,界面如下图所示。
Test Suite工作区设置
选中测试集,右侧框选部分可以导入需要用到的库或者资源,如下图所示。
选择右侧 Add Import 导入不同类型。
Selenium2Library是用例运行时必需的库,导入时可以选择路径或者直接输入名称,成功导入后在列表以黑色展示,红色表示导入失败。
边栏推荐
- 释放nohup.out占用的磁盘空间
- 網絡中的一些基本概念
- NAND nor flash flash flash product overview
- Vcenter6.7安装及排错
- No application for domain name SSL certificate under ports 80 and 443 (applicable to acme.sh and certbot)
- 小迪网络安全笔记-信息收集-架构、搭建、waf(8)
- Quelques concepts de base dans le réseau
- Top command
- STM32 serial communication related learning
- 二分查找及其引申
猜你喜欢
随机推荐
How to make good use of cost compensation contract in government procurement
Hand in hand building a home NAS universal server (1) | configuration selection and preparation
Performance comparison between merge into and update in Oracle
阿拉伯数字转中文
小迪网络安全-笔记(4)
[jmeter] TCP Sampler
企业数据治理之勒索病毒篇
《PyTorch深度学习实践》-B站 刘二大人-day4
Quelques concepts de base dans le réseau
高并发day04(ZAB协议,观察者,nc,AVRO,RPC)
From entering URL to displaying page
基于SPI/IIC接口的OLED数据显示
简单irules编写 入门级
Pytorch deep learning practice-b station Liu erden-day4
F5LTM(一)逻辑关系图
什么是数据中台?
Pytorch deep learning practice-b station Liu erden-day6
Introduction to daily use of manjaro system
ORACLE分组排序后获取第一条和最后一条值
Double code time scale network diagram