Hi guys,
So the weirdest thing...this button (see snapshot attached),that looks like a button and behaves like a button, causes my test to fail every single time due to this weird error:
"Item 'Ranorex8_0Repository.Observer80.AddBannerButton' is no Button.
The element does not support the required capability 'button'. "
I've never seen it before. Do you know what do?
WEIRD issue
WEIRD issue
You do not have the required permissions to view the files attached to this post.
Re: WEIRD issue
Try changing the XPath from a /button to a /buttontag type. I don't know if that will help in this case, but sometimes it does. Also, you might check the repo element's properties (F4) and make sure that the element's type is set to buttontag.
This has been an issue for a while with buttontag elements. Ranorex is supposed to see buttontag and button elements as essentially the same, but there are instances where you have to specifically declare as a buttontag. Again, I don't know if that is the case here, but it is worth a try.
This has been an issue for a while with buttontag elements. Ranorex is supposed to see buttontag and button elements as essentially the same, but there are instances where you have to specifically declare as a buttontag. Again, I don't know if that is the case here, but it is worth a try.
Shortcuts usually aren't...
Re: WEIRD issue
krstcs wrote:Try changing the XPath from a /button to a /buttontag type. I don't know if that will help in this case, but sometimes it does. Also, you might check the repo element's properties (F4) and make sure that the element's type is set to buttontag.
This has been an issue for a while with buttontag elements. Ranorex is supposed to see buttontag and button elements as essentially the same, but there are instances where you have to specifically declare as a buttontag. Again, I don't know if that is the case here, but it is worth a try.
I've changed it to buttontag as you said and it totally worked!!!!!! Thank you so much
Re: WEIRD issue
You're welcome!
Like I said, sometimes it works, and sometimes it doesn't...
Like I said, sometimes it works, and sometimes it doesn't...
Shortcuts usually aren't...