【问题标题】:how to check if a colmmande return is true or false selenium-ide如何检查 colmmande 返回是真还是假 selenium-ide
【发布时间】:2012-09-17 11:31:56
【问题描述】:

我正在尝试通过 selenium ide 获得命令返回:

storeTextPresent|myText|title
gotoIf|storedVars.tite|true
echo|${"true"}

但它不起作用...我有:[错误] 意外异常:fileName -> chrome://flowcontrol/content/extensions/goto-sel-ide.js?1347871647495, lineNumber -> 120。

有人知道怎么退吗?

谢谢

【问题讨论】:

    标签: web selenium-ide


    【解决方案1】:

    我没有检查 gotoIf 是否支持布尔值,但是如果 gotoIf 想要转到标签,我看不到上面脚本中定义的标签。 此外,“storedVars.tite”引用似乎拼写错误。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-08-09
      • 2020-12-31
      • 2022-08-18
      • 2021-11-23
      • 2019-01-21
      • 2019-12-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多