firefox - Selenium IDE gotoIF 比较 vchar 字符串

标签 firefox selenium selenium-ide

我已经尝试了以下

gotoIf "${oneoff}"=="Jeff Della Rosa" 
gotoIf ${oneoff}=="Jeff Della Rosa" 
gotoIf ${oneoff}=={"Jeff Della Rosa"} <-- not sure why, just trying anything.

-------- 这是整个序列----------

最佳答案

此外,要测试“NOT EQUAL”,请使用以下语法:
gotoIf '${variable}'!='the string operand' target_label
在变量和操作数周围使用单引号很重要。

关于firefox - Selenium IDE gotoIF 比较 vchar 字符串,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14638094/

相关文章:

asp.net - 浏览器在本地主机加载时自动滚动到页面底部

html - SVG 不从父级继承值

java - Xpath 选择器在 IE 中不起作用,但在 Chrome 和 Firefox 中工作正常

java - 从 CMD 运行 Selenium IDE 测试用例

Firefox addon sdk 订阅已保存页面事件

performance - 使用 jupyter lab 浏览器变得非常慢

r - 在 Windows 7 上使用 phantomjs 和 RSelenium

c# - 检测selenium中的ajax请求

Selenium IDE : How to continue script on element not found or on error

Selenium IDE : How to check if an element has a focus?