[英]Selenium IDE decremenation of stored value
I would like to decrement value which is into the "store" command in SeleniumIDE我想减少 SeleniumIDE 中“存储”命令中的值
I mean:我是说:
store xpath count | anything... | variableName
This up it is the "basic" variable, where I store my value.这就是“基本”变量,我存储我的值。
and nextly:接下来:
store | ${variableName} -1 | variableNameDec
I treid to: -1 and -- and it is not working :<.我努力:-1 和 - 它不工作:<。 Do anyone could be so kind and let me know how to solve that?
有没有人可以这么好,让我知道如何解决这个问题?
It seems, that I found the solution of my problem in the other topic:看来,我在另一个主题中找到了我的问题的解决方案:
I used我用了
execute script | return parseInt(${variableName}) -1 | variableNameDec
and after that- it's working correctly!之后 - 它工作正常! :D
:D
Have good day!有美好的一天!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.