I intermittently recieve an error and my macro stops on verifyElementPresent commands. If the element is not present it should still continue with the code. I’m not using assertElementPresent.
[error] [Line 202]: timeout reached when looking for element ‘xpath=//*[@title=“Sample Median”]’
Thanks for the test case. => All works fine for me, see the video below.
The screencast also shows that !statusOK is set to false, because verifyElementPresent fails (= element not found). Does it work differently on your machine?
I am getting this as well now when combined with a times function. If I enter in the XPath as normal it works, enter in the XPath with the ${!times} and it returns as required, then it gives an error. Appears to be that if it starts on a number reference that doesn’t exist, it then timeouts.
Hi Admin, UI vision is amazing however i am having troubling locating a setting. So in my scripts i always get a warning when element can’t be found and it picks the secondary locator with the following warning.
Element found with secondary locator “xpath=//select”… this is working how i want it to, however when my collegues run the same script they get a wait timeout error. How do i change their settings to get a warnings like i do instead of a error.