Robotframework -- Run Keyword关键字
来源:互联网 发布:unity3d 动画循环播放 编辑:程序博客网 时间:2024/05/22 14:49
Robotframework – Run Keyword关键字
- Run Keyword
- Run Keywords
- Run Keyword If:
runs the given keyword with the given arguments, if ‘condition’ is true.
另外, 该关键字还可以与ELSE,ELSE IF 一起使用,用于选择分支结构. - Run Keyword Unless:
runs the given keyword with the given arguments, if ‘condition’ is false. - Run Keyword And Ignore Error
- Run Keyword And Continue On Failure
- Run Keyword And Expect Error
- Repeat Keyword
- Wait Until Keyword Succeeds
举例:
*** Test Cases ***case1${var} Set Variable logRun Keyword ${var} abcRun Keywords ${var} abc... AND ${var} EFGRun Keyword If '${var}'=='log' ${var} iflogRun Keyword Unless '${var}'=='test' ${var} unlessRun Keyword And Ignore Error Fail ignore${status} Run Keyword And Return Status Log seleniumRun Keyword And Continue On Failure FailRun Keyword And Expect Error * FailRepeat Keyword 2 Log repeatWait Until Keyword Succeeds 30s 5s Log aaa
阅读全文
0 0
- Robotframework -- Run Keyword关键字
- robotframework学习日记-run keyword if的学习
- robotframework之user keyword
- RobotFrameWork(五)控制流之if语句——Run Keyword If
- RobotFrameWorK控制流之if语句——Run Keyword If
- RobotFrameWork(五)控制流之if语句—Run Keyword If
- RobotFrameWork控制流之if语句——Run Keyword If
- Robotframework之Run Keyword And Return Status,解决判断页面是否有弹窗的问题
- [Keyword]关键字
- robotframework关键字
- RobotFramework错误解决:Keyword 'Capture Page Screenshot' could not be run on failure: No browser is open
- Robot Framework经验谈 - Run Keyword If等内建关键字返回如何决定测试案例结果
- 关键字云雾(keyword cloud)
- Static Keyword--静态关键字
- RobotFramework AppiumLibrary 用户关键字
- RobotFramework Selenium2 关键字
- RobotFramework AppiumLibrary 用户关键字
- robotFramework之关键字
- ATECC508A芯片开发笔记(五):Provision执行过程及代码分析
- 百练_2000:金币
- git和github的基本使用
- 集合(容器)hoshCode算法
- Codeforces Round #382 (Div. 1) 736A Tennis Championship
- Robotframework -- Run Keyword关键字
- ionic实战项目从0开始
- android 系统数据业务---打开(下)
- 被点名批评#2
- python logging 模块(三)
- Java SWT
- 设计前端(一)
- 决策树的剪枝操作
- 数据库中的变长类型