zoukankan      html  css  js  c++  java
  • 六、RF中断言关键字使用详解

    1.should be equal  和should be not equal  :比较两个值相等或不相等

    2.should start with  和should not start with :判断以该内容开头或不是以该内容开头

    3.should end with  和should not end with :判断以该内容结束或不是以该内容结束

    4.页面的断言

    Page Should Contain | text 验证页面存在文本内容 
    Page Should Not Contain | text 验证页面不存在文本内容 
    Element Should Be Disabled | locator 验证元素被禁用 
    Element Should Be Enabled | locator 验证元素可用 
    Element Should Be Visible | locator | message= 验证元素可见,不可见则输出message 
    Element Should Contain | locator | expected | message= 验证元素包含expected,不包含则输出message 
    Element Text Should Be | locator | expected | message= 验证元素完全包含expected,不完全包含则输出message

  • 相关阅读:
    团队冲刺第二阶段2
    团队冲刺第二阶段1
    第十二周总结
    团队游戏
    三个和尚
    第十一周总结
    第十周总结
    调用摄像头拍照
    怎样从相册中选择照片?
    怎样插入并播放音频?
  • 原文地址:https://www.cnblogs.com/chushujin/p/9482664.html
Copyright © 2011-2022 走看看