Hello Folks
I have button item on my web-application called ShowPlayer , by using Ranorex Spy -> Track , I got the Xpath of the button and had put in one of my root folder. but that button item does not worked and ranorex gave me the error
"The element does not support the required capability 'button'. when i execute my testcase.
Xpath of the button : .//button[#'showPlayer']
Why ranorex is not support this and not identified it as a button .??
Any leads
The element does not support the required capability 'button'.
The element does not support the required capability 'button'.
Last edited by Bilawal on Fri Jun 18, 2021 1:51 pm, edited 1 time in total.
Re: The element does not support the required capability 'button'.
Hi,
This is a known and not yet solved Ranorex problem, which occasionally happens with web elements. The solution is to replace recorded/tracked 'button' element with 'buttontag', like this:
This is a known and not yet solved Ranorex problem, which occasionally happens with web elements. The solution is to replace recorded/tracked 'button' element with 'buttontag', like this:
Code: Select all
.//buttontag[#'showPlayer']
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: The element does not support the required capability 'button'.
Hi ,
Any documentation or details about this problem on ranorex forum or official website , where i can read the details ???
I tried to search out but unfortunately does not found that.
Thanks for the suggestion
Any documentation or details about this problem on ranorex forum or official website , where i can read the details ???
I tried to search out but unfortunately does not found that.
Thanks for the suggestion
Re: The element does not support the required capability 'button'.
Hi,
I'm afraid, there are no more details regarding this problem. But if you search this forum for a word "buttontag", you will find several posts discussing this topic.
I'm afraid, there are no more details regarding this problem. But if you search this forum for a word "buttontag", you will find several posts discussing this topic.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: The element does not support the required capability 'button'.
Does any has already raised this issue as a bug ?
is this issue is known to Ranorex Dev team?
Thanks I just saw several post regarding this issue in Ranorex Forum.
is this issue is known to Ranorex Dev team?
Thanks I just saw several post regarding this issue in Ranorex Forum.
Re: The element does not support the required capability 'button'.
Yeah, I believe they are aware of this problem. Hopefully, it will be fixed soon?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: The element does not support the required capability 'button'.
You might find that these types of errors are reduced by changing the "Adapter type" property for the associated repo item, from "Default" to "webelement".
Re: The element does not support the required capability 'button'.
I cant find the Adaptor Type field, can you please help me with this?
Also I am trying to change the button to buttontag in the xpath but it is not identifying the element if I do that.
Is there any specific way we have to do this?
Also I am trying to change the button to buttontag in the xpath but it is not identifying the element if I do that.
Is there any specific way we have to do this?
Re: The element does not support the required capability 'button'.
Hi,
You can find Adapter Type in Repo Properties panel... As for your problem, please upload a Ranorex snapshot (NOT screenshot) so we can check the structure of your UI.
You can find Adapter Type in Repo Properties panel... As for your problem, please upload a Ranorex snapshot (NOT screenshot) so we can check the structure of your UI.
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration