Python Robot Framework

版权声明:本文为博主原创文章,欢迎转载,转载时请以超链接形式标明文章原始出处。 https://blog.csdn.net/lilongsy/article/details/81540373

简介

Robot Framework是一款自动测试框架,主要是为验收测试和验收测试驱动开发(ATDD)。
官网:http://robotframework.org/
GitHub:https://github.com/robotframework/robotframework

例子

*** Settings ***
Documentation     A test suite with a single test for valid login.
...
...               This test has a workflow that is created using keywords in
...               the imported resource file.
Resource          resource.txt

*** Test Cases ***
Valid Login
    Open Browser To Login Page
    Input Username    demo
    Input Password    mode
    Submit Credentials
    Welcome Page Should Be Open
    [Teardown]    Close Browser

参考

https://www.cnblogs.com/tobecrazy/p/3969390.html

猜你喜欢

转载自blog.csdn.net/lilongsy/article/details/81540373