【问题标题】:what is the difference between think time and time out in monkey talk猴子谈话中的思考时间和超时有什么区别
【发布时间】:2015-04-03 05:04:26
【问题描述】:

在我编写测试用例时的猴子谈话中,有两个时间可用,一个是思考时间,另一个是超时。思考时间是程序等待的时间,其他时间是超时时间,我对这两个与猴子谈话工作有关的时间感到困惑。谁能帮我理解一下。

【问题讨论】:

    标签: android automated-tests monkeytalk


    【解决方案1】:

    来自文档
    Timeout – Maximum time to retry the command before failing
    用一般的话例如,如果对于按钮点击我们将超时设置为 5000ms(5sec) Monkey talk 会执行 Tap 5 秒,如果不成功会显示错误。

    ThinkTime-– How long to pause before executing the command
    例如,如果我们正在从服务器加载列表,则单击按钮时,如果我们将 ThinkTime 设置为大约 10000 毫秒(10 秒),monkeytalk 会在接下来的 10 秒内保持(等待)下一个命令执行,直到列表被填充。我们可能会根据正在填充的列表执行命令。 你可以参考这个非常好的pdf here

    【讨论】:

      猜你喜欢
      • 2012-03-31
      • 1970-01-01
      • 2019-06-26
      • 1970-01-01
      • 2017-06-01
      • 2011-10-18
      • 1970-01-01
      • 2015-03-28
      • 2011-07-26
      相关资源
      最近更新 更多