week4、run 4 automation test cases of bright
来源:互联网 发布:台湾退出联合国知乎 编辑:程序博客网 时间:2024/06/05 20:48
使用Robot自动化测试框架进行测试
连接自己创建的simulator仿真平台,输入端口号
对老版本执行:
SEMANTIC-0001
ztang>show interface 1/1/x3
Curr. # VLANS/
Name Description Role Rate Tag Act. Status
---------- ---------------------------------- ------ -------- ---------------
1/1/x3 trunk 0 1/0 system disabled
ztang>set interface 1/1/x3 role edge
success: Modify interface"1/1/x3".
ztang>create eth-mirror dest-eth-port1/1/x3
success: Create Ethernet mirror.
ztang>delete eth-mirror
success: Delete Ethernet mirror.
ztang>set interface 1/1/x3 role trunk
success: Modify interface"1/1/x3".
SEMANTIC-0002
ztang>create eth-mirror dest-eth-port1/1/x3
success: Create Ethernet mirror.
ztang>set interface 1/1/x3 role edge
success: Modify interface"1/1/x3".
ztang>set interface 1/1/x3 role trunk
success: Modify interface"1/1/x3".
ztang>delete eth-mirror
success: Delete Ethernet mirror.
SEMANTIC-0003
ztang>create vlan 11
success: Create VLAN 11.
ztang>add interface 1/1/x3 to-vlan 11
success: Add VLAN 11 member -- interface"1/1/x3".
ztang>create eth-mirror dest-eth-port1/1/x3
success: Create Ethernet mirror.
ztang>delete eth-mirror
success: Delete Ethernet mirror.
ztang>remove interface 1/1/x3 from-vlan11
success: Remove VLAN 11 member -- interface"1/1/x3".
ztang>delete vlan 11
success: Delete VLAN 11.
SEMANTIC-0004
ztang>create vlan 11
success: Create VLAN 11.
ztang>create eth-mirror dest-eth-port1/1/x3
success: Create Ethernet mirror.
ztang>add interface 1/1/x3 to-vlan 11
success: Add VLAN 11 member -- interface"1/1/x3".
ztang>remove interface 1/1/x3 from-vlan11
success: Remove VLAN 11 member -- interface"1/1/x3".
ztang>delete eth-mirror
success: Delete Ethernet mirror.
ztang>delete vlan 11
success: Delete VLAN 11.
更新 新功能后:
SEMANTIC-0001
CalixE7>set interface 1/1/x3 role edge
success: Modify interface "1/1/x3".
CalixE7>create eth-mirror dest-eth-port 1/1/x3
failed: dest-eth-port is in an edge port.
CalixE7>set interface 1/1/x3role trunk
success: Modify interface "1/1/x3".
SEMANTIC-0002
CalixE7>create eth-mirror dest-eth-port a/x3
success: Create Ethernet mirror.
CalixE7>set interface a/x3 role edge
failed: the port is used as eth-mirror dest-eth-port.
CalixE7>delete eth-mirror
success: Delete Ethernet mirror.
SEMANTIC-0003
CalixE7>create vlan 11
success: Create VLAN 11.
CalixE7>add interface a/x2 to-vlan 11
success: Add VLAN 11 member -- interface "1/1/x3".
CalixE7>create eth-mirror dest-eth-port 1/1/x3
failed: dest-eth-port is a member of a vlan.
CalixE7>remove interface 1/1/x3 from-vlan 11
success: Remove VLAN 11 member -- interface"1/1/x3".
CalixE7>delete vlan 11
success: Delete VLAN 11.
SEMANTIC-0004
CalixE7>create vlan 11
success: Create VLAN 11.
CalixE7>createeth-mirror dest-eth-port 1/1/x3
success: Create Ethernet mirror.
CalixE7>add interface 1/1/x3 to-vlan 11
failed: Eth Port is a member of eth-mirror.
CalixE7>delete eth-mirror
success: Delete Ethernet mirror.
CalixE7>delete vlan 11
success: Delete VLAN 11.
写测试用例时:
注意 执行测试用例后的状态要与测试前的状态一致。即恢复初始状态,可以使用正则表达式进行变量存储。 show {a} , 最后 set a
- week4、run 4 automation test cases of bright
- 《xUnit Test Patterns》学习笔记4 - Principles of Test Automation
- Test Run:MS UI Automation Library
- Junit 4 Core Concept [3] suit of test cases and suit of suits
- How to run test cases on android-ndk
- How to run test cases in a specified file?
- Future of Test Automation Tools & Infrastructure
- 转载:Cost Benefits Analysis of Test Automation
- Android CTS Verifier Sensor Test Cases (4)
- Run Automation Test by MSTest.exe on 64bit OS
- Use Python to run REST API Automation Test
- Unreal engine 4 Automation Test
- 《xUnit Test Patterns》学习笔记2 - Goal Of Test Automation
- 《xUnit Test Patterns》学习笔记3 - Philosophy of Test Automation
- Automation Test
- Automation Test
- Create new test cases
- Unit test cases
- 浅谈Javascript中Promise对象的实现
- 布局万花筒:UIColletionview
- Android中SQLite数据库中空字符串的判断方式
- tomcat 详解 三catalina.home和catalina.base
- 对H264进行RTP封包原理
- week4、run 4 automation test cases of bright
- 函数指针使用(转)
- 004HTC VIVE拾取东西和触碰
- 缩略词 —— 计算机/编程/互联网/IT
- 技术干货
- 复杂Powershell案例-获取批量建立账户的状态-PS代码的编写!
- TimeBake:part1
- JavaEE复习笔记(4)——JSP2和Servlet3.0的新特性
- Razor基础语法简介