使用场景:

  当用例失败时需要通知对应人员,则需要在Teardown中,使用关键字Run Keyword If Test Failed 

robot:当用例失败时执行关键字(发送短信)

 

 Send Message关键字为自定义关键字,${content}为短信内容,${msg_receiver}为短信接收者列表。

当然执行成功时需要执行什么动作也有:Run Keyword If Test Passed 

相关文章:

  • 2021-08-24
  • 2021-06-12
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-05-12
猜你喜欢
  • 2022-01-17
  • 2022-12-23
  • 2022-01-03
  • 2022-12-23
  • 2022-02-19
  • 2021-11-27
  • 2021-10-26
相关资源
相似解决方案