Break after first object found

Ask general questions here.
Posts: 1
Joined: Fri Nov 11, 2016 2:44 pm

Break after first object found

Post by nikob » Fri Nov 11, 2016 2:49 pm


i was wondering if there was a functionality (best case szenario to set as an attribute in any adapters RXPath) to stop searching after Ranorex found at least one object to match the Path.
Im using ranorex 6.1 and am surprised as i have not yet found anything about this even after excessive research on this topic.

Greetings Niko

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

Re: Break after first object found

Post by odklizec » Tue Nov 15, 2016 8:46 am


Maybe I misunderstand something, but Ranorex works exactly like you described? Ranorex stops searching for an element (with given xpath) once the searched xpath exists. Eventually, it fails if the xpath is not found during defined timeout. Could you please describe your problem in more details?
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