Object is recognized just via XPath
-
- Posts: 68
- Joined: Wed Jun 29, 2016 12:19 pm
- Location: Frankfurt, Germany
Object is recognized just via XPath
Hi. I'm having this issue with DataFlavor Java-Object recognition, namely it is possible to recognize the object from repository, but unfortunately not from module itself. Whenever I run the Suite/Module Ranorex is searching for the object and can't trough, but with just simple use of XPath-highlight it works smoothly. Is there any know issue in the region of Java DataFlavor recognition? Hope my description is understandable. Thanks
Last edited by dugovic.milan on Tue Aug 02, 2016 11:27 am, edited 1 time in total.
Ranorex Explorer @DVAG
Support my Ranorex Ideas & Improvements
My current approach: Ranorex 9.2.0
Support my Ranorex Ideas & Improvements
My current approach: Ranorex 9.2.0
- odklizec
- Ranorex Guru
- Posts: 6360
- Joined: Mon Aug 13, 2012 8:54 am
- Location: Zilina, Slovakia
Re: Object is recognized only from repo (not from code module)
Hi,
I'm afraid, there is not enough info in your post to provide a reasonable answer.
Could you please post your Ranorex version, repository and code xpath of the element in question as well as the snapshot of the element? Also, please post the code you are using and exact error message you are getting. Thank you.
I'm afraid, there is not enough info in your post to provide a reasonable answer.
Could you please post your Ranorex version, repository and code xpath of the element in question as well as the snapshot of the element? Also, please post the code you are using and exact error message you are getting. Thank you.
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: 68
- Joined: Wed Jun 29, 2016 12:19 pm
- Location: Frankfurt, Germany
Re: Object is recognized just via XPath
In other words like mentioned earlier:
Failed to wait for item to exist.
Failed to find item "XXX"
No element found for path
I use Ranorex 6.0.1
Anyhow, how can I make a snapshot without an ability of finding this element?
EDIT: To be precise the object can not be identified in repo either (highlight directly from there), but the XPath has to be opened and the last element of the path selected to recognize/highlight the object at all.
Failed to wait for item to exist.
Failed to find item "XXX"
No element found for path
I use Ranorex 6.0.1
Anyhow, how can I make a snapshot without an ability of finding this element?
EDIT: To be precise the object can not be identified in repo either (highlight directly from there), but the XPath has to be opened and the last element of the path selected to recognize/highlight the object at all.
Ranorex Explorer @DVAG
Support my Ranorex Ideas & Improvements
My current approach: Ranorex 9.2.0
Support my Ranorex Ideas & Improvements
My current approach: Ranorex 9.2.0
- odklizec
- Ranorex Guru
- Posts: 6360
- Joined: Mon Aug 13, 2012 8:54 am
- Location: Zilina, Slovakia
Re: Object is recognized just via XPath
Hi,
I'm sure the failure in report contains the repo name and even full (failing) xpath for the repo item? So please, post "exact" error message as displayed in report.
Additionally, please post the xpath used in code and exact code you are using.
As for the snapshot, you can definitely create a snapshot for the item stored in repo and for which, according to you, the highlight works? So please, create and post the snapshot for repository item.
EDIT: OK, I'm now lost
So you can't highlight the element from repository either? So the path stored in repo must be, in my opinion, wrong. Please post the xpath used in repo and code and take the snapshot of last found element while using the xpath used in repo or code. Are you using some indexes in you xpath?
I'm sure the failure in report contains the repo name and even full (failing) xpath for the repo item? So please, post "exact" error message as displayed in report.
Additionally, please post the xpath used in code and exact code you are using.
As for the snapshot, you can definitely create a snapshot for the item stored in repo and for which, according to you, the highlight works? So please, create and post the snapshot for repository item.
EDIT: OK, I'm now lost

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