Thats why I tried this path:
Code: Select all
button[@text='I accept >' and @visible='true' and @enabled='true'
But then I receive this error:
WARN User Item 'FRM_Installation.EULA_Dialog.BTN_Accept' could be found using its absolute path, but not by using the repository structure.Please make sure that all of its parent folders have unique paths.
ERROR User Ranorex.ElementNotFoundException: Failed to find item 'FRM_Installation.EULA_Dialog.BTN_Accept' within the specified timeout of 250ms. ---> Ranorex.ElementNotFoundException: No element found for path 'button[@text='Ich akzeptiere >' and @visible='true' and @enabled='true']' within 250ms.
After the execution stops, if i chose to highlight the button, it totally works just fine. It can fine the button for highlighting, but it cannot find the button for clicking?
The error message is also not very helpful, because the path exists and it is unique!
does this even work, using @enabled='true'?