我在该页面上:
http://localhost:8080/login?error=true
我如何检查error
变量是否包含值true
?
这是我失败的尝试:
错误:
[info] Executing: | assertAttribute | error | true |
[info] Wait until the element is found
[error] Implicit Wait timed out after 10000ms
[error] Element erro not found
我正在使用:
我是测试领域的新手。有人可以帮忙吗? :(
我在该页面上:http:// localhost:8080 / login?error = true我如何检查错误变量是否包含值true?这是我失败的尝试:错误:[信息]执行中: assertAttribute |错误true ...
下面的代码将起作用