【问题标题】:Robot framework get result机器人框架得到结果
【发布时间】:2020-05-27 12:51:30
【问题描述】:

我尝试使用库 SapGuiLibrary 并希望从 SAP 获取一些值。

在我的测试用例中,我有:

SapGuiLibrary.Get Row Count    wnd[0]/shellcont[1]/shell

但是如何将值输出到日志或文件?

【问题讨论】:

    标签: return output robotframework


    【解决方案1】:

    假设关键字返回值,可以save it to a variable。然后您可以记录该变量。

    ${result}=    SapGuiLibrary.Get Row Count  wnd[0]/shellcont[1]/shell
    log to console  ${result}
    

    【讨论】:

      猜你喜欢
      • 2018-05-19
      • 2021-02-04
      • 1970-01-01
      • 2021-04-26
      • 2016-08-23
      • 2019-10-12
      • 2016-04-26
      • 2014-05-17
      • 2021-04-10
      相关资源
      最近更新 更多