The element does not support the required capability

Ask general questions here.
praneet
Posts: 26
Joined: Thu Nov 08, 2018 2:22 am

The element does not support the required capability

Post by praneet » Thu Jul 18, 2019 4:57 pm

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'.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 5349
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: The element does not support the required capability

Post by odklizec » Thu Jul 18, 2019 5:09 pm

Hi,

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 Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Lyuba Boerma
Posts: 33
Joined: Mon Apr 01, 2019 12:12 pm

Re: The element does not support the required capability

Post by Lyuba Boerma » Mon Jul 22, 2019 7:46 am

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']

qa-auto
Posts: 45
Joined: Mon Aug 05, 2019 10:46 pm

Re: The element does not support the required capability

Post by qa-auto » Thu Oct 31, 2019 9:17 pm

https://www.ranorex.com/forum/lyuba-boerma-u28661.html,

The tip on changing the //input to //webelement was very helpful.

Thanks!