Ranorex can not find element even if path is correct

Bug reports.
rzavsky
Posts: 4
Joined: Mon Feb 04, 2019 9:25 am

Ranorex can not find element even if path is correct

Post by rzavsky » Wed Feb 06, 2019 12:19 pm

Hello,

I would like to ask how to solve a problem with finding element even if the path to the element is correct. When I want to find this element on my machine, Ranorex always find the element, but when I run a test via TFS, Ranorex can not find the element. I have already tried to find him with Host.Local.FindSingle but it doesn't help. So I am not sure how to solve it.

Thanks

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

Re: Ranorex can not find element even if path is correct

Post by odklizec » Wed Feb 06, 2019 1:22 pm

Hi,

Unfortunately, there is too little information about your problem, AUT, test suite, used xpath and exact error you are getting. Therefore, it's impossible to provide a reasonable answer. Please answer below questions:

Used Ranorex version (most recent is 8.3.2)?
What UI technology are we talking about?
Please post a Ranorex snapshot (NOT screenshot) of the problematic element, ideally taken on target computer, where it fails.
Please post the exact xpath as stored in repository.
Please post the exact error, as shown in report.
Are you sure the Ranorex settings are the same both in Studio and the solution started form command line/tfs?
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