Element xpath- /dom[@domain~'.com']//main[#'main']/div[3]/div//a[@innertext='Checkme']
In Element Browser it showing one element found for current section and highlighting perfectly on my webpage.
But some times script is abruptly stopping with error-' Item 'Repository.or.Checkme' is no ATag.
The element does not support the required capability 'atag'.
The element does not support the required capability
Re: The element does not support the required capability
Hi,
Could you Please post a Ranorex snapshot (NOT sceeenshot) of the problematic element and also the code you are using? Thanks.
Could you Please post a Ranorex snapshot (NOT sceeenshot) of the problematic element and also the code you are using? Thanks.
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
-
- Posts: 35
- Joined: Mon Apr 01, 2019 12:12 pm
Re: The element does not support the required capability
i also have it very often.
for this element i change xpath to Webelement
/dom[@domain~'.com']//main[#'main']/div[3]/div//webelement[@innertext='Checkme']
for this element i change xpath to Webelement
/dom[@domain~'.com']//main[#'main']/div[3]/div//webelement[@innertext='Checkme']
Re: The element does not support the required capability
https://www.ranorex.com/forum/lyuba-boerma-u28661.html,
The tip on changing the //input to //webelement was very helpful.
Thanks!
The tip on changing the //input to //webelement was very helpful.
Thanks!