【发布时间】:2020-12-20 14:10:51
【问题描述】:
我在机器人框架中有 3 个测试用例,我只需要在执行 3 个测试用例后最后一次运行 Teardown 操作。 如何处理?
*** Settings ***
Test Teardown Teardown Actions
Library abc.py
*** Variables ***
*** Test Cases ***
testcase1
Run Keyword func1
testcase2
Run Keyword func2
testcase3
Run Keyword func3
*** Keywords ***
Teardown Actions
Run Keyword clear
【问题讨论】:
-
您是否安装了任何用于拆卸的库或它是自动的?
标签: python python-2.7 robotframework