I hava a automation set with several test cases. When I run the tests in the script developer plugin or in IntelliJ with the chrome webdriver the tests run successfully.
Now I must change the webdriver to xlt, but than most of the tests failed.
- The first problem is that the command waitForVisible failed. Some elements I want to wait until they are visible are invisible. In the screenshot from IntelliJ I see the elements and they are visible on the screen.
The element has a tag like aria-hidden=“true”. This is no problem for the script developer, and chrome. But for the xlt web driver.
com.xceptance.xlt.engine.scripting.ScriptException: Command failed: waitForVisible target=“css=.element” value="" -> Timed out while waiting for condition: Element is invisible (user: ‘T_Test-0’, output: ‘1505293543047’)
- The second bug is that the expression verification with ‘string’ != ‘’ don’t run. I need this expression because of possible multiline strings. Is there any way to run the expression also with the xlt web driver or to replace line breaks?
com.xceptance.xlt.api.util.XltException: Failed to evaluate expression:
version-172 2017-09-13 03:00:00!= ‘’ (user: ‘T_Search-0’, output: ‘1505294768503’)
I hope you understand my problems and may help me.
Thanks a lot.