Item 'Repo.item' is no InputTag.

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
skhanpara
Posts: 101
Joined: Wed Apr 23, 2014 3:55 pm

Item 'Repo.item' is no InputTag.

Post by skhanpara » Tue May 25, 2021 9:08 pm

Scripts fails on random on the attached snapshot element. Also, having same issues with few other elements.

Ranorex version: 9.2.1

Please suggest.

Thank you
You do not have the required permissions to view the files attached to this post.

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

Re: Item 'Repo.item' is no InputTag.

Post by odklizec » Wed May 26, 2021 7:11 am

Hi,

At first, you are using an obsolete and no longer supported Ranorex version. Please update to most recent 9.5.1 and try to reproduce the problem with this version.

In the past, there were some reports (and I experienced it too), that some HTML tags fail with similar error. The solution, if I remember it correctly, was to replace "Input" or "Button" with "InputTag" or "ButtonTag" in xpath of given repo element. Hope this helps?
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

skhanpara
Posts: 101
Joined: Wed Apr 23, 2014 3:55 pm

Re: Item 'Repo.item' is no InputTag.

Post by skhanpara » Wed May 26, 2021 8:13 pm

We cannot migrate to newer version yet but we are planning to do it soon.

The solution provide by you worked but now I am getting new error.

"Please check that your whitelist allows Ranorex to access the process."

I have added chrome to the whitelist and still getting this error.

Please provide a work around , if possible.

Thank you

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

Re: Item 'Repo.item' is no InputTag.

Post by odklizec » Fri May 28, 2021 7:41 am

Hi,

I'm afraid, I've never experienced such issue? So your best hope is to contact Ranorex support? And I think they will need access to the webpage/app under test. Is it a normal web page opened in chrome?

Have you tried another browser, e.g. MS Edge (chrome based) and FF?
Is there something special abut these elements asking for white listing?
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

skhanpara
Posts: 101
Joined: Wed Apr 23, 2014 3:55 pm

Re: Item 'Repo.item' is no InputTag.

Post by skhanpara » Mon May 31, 2021 2:16 pm

I upgrade ranorex to 9.5.1 and i am still getting same issue.

"Repo.item is no InputTag".

I replace the repo definition from 'input' to 'inputtag' but still same issue.


Please suggest.

Thank you

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

Re: Item 'Repo.item' is no InputTag.

Post by odklizec » Mon May 31, 2021 2:19 pm

Hi,

Unfortunately, it's hard to say what's wrong in your particular case. Replacing Input with InputTag usually helps. Is there any chance we can see your web with problematic element?
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