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

六、RF中断言关键字使用详解

 

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

六、RF中断言关键字使用详解

 

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

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-26
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-08
  • 2021-04-26
相关资源
相似解决方案