Hi,
Am working on an Android app developed using Xamarin. except button, container and form all other objects are recognized as AndroidElement/Unknown. could somebody help me in this?
Thanks & Regards,
Manu
Xamarin controls are not recognised
Re: Xamarin controls are not recognised
Hi,
It would be useful, if you could post a Ranorex snapshot of your AUT. Are you experiencing any particular problems with AndroidElements or are you just uncomfortable to see all elements like AndroidElements/Unknown?
It would be useful, if you could post a Ranorex snapshot of your AUT. Are you experiencing any particular problems with AndroidElements or are you just uncomfortable to see all elements like AndroidElements/Unknown?
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: 14
- Joined: Mon Jul 27, 2015 2:17 pm
Re: Xamarin controls are not recognised
Hello,
I can not share app screenshot. but this is how Rxpath of a button looks like:
/mobileapp[@title='***']/form[@title='MainActivity']/container/container/androidelement/androidelement/androidelement/androidelement/androidelement/androidelement[1]/androidelement/androidelement[1]/androidelement/androidelement[2]/androidelement[1]/androidelement[2]/androidelement/picture
It takes around 30 Seconds to identify and click on this picture.
I can not share app screenshot. but this is how Rxpath of a button looks like:
/mobileapp[@title='***']/form[@title='MainActivity']/container/container/androidelement/androidelement/androidelement/androidelement/androidelement/androidelement[1]/androidelement/androidelement[1]/androidelement/androidelement[2]/androidelement[1]/androidelement[2]/androidelement/picture
It takes around 30 Seconds to identify and click on this picture.
Re: Xamarin controls are not recognised
Hi,
I'm afraid, rxpath alone is not very helpful. It only shows that there are no unique attributes in your GUI, which could be used for reasonable identification of elements. I don't have any clue if it's because of the fact it's xamarin app, or simply because your app is not automation friendly as such.
If you cannot share the snapshot at public forum (please don't mix it with screenshot), send the snapshot directly to Ranorex support at [email protected].
I'm afraid, rxpath alone is not very helpful. It only shows that there are no unique attributes in your GUI, which could be used for reasonable identification of elements. I don't have any clue if it's because of the fact it's xamarin app, or simply because your app is not automation friendly as such.
If you cannot share the snapshot at public forum (please don't mix it with screenshot), send the snapshot directly to Ranorex support at [email protected].
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
Re: Xamarin controls are not recognised
Hi,
Any updates on this issue?
Any updates on this issue?
Re: Xamarin controls are not recognised
Hi,
What kind of update do you expect? If you are experiencing similar problem, please upload Ranorex snapshot of the problematic element. Eventually, send it to Ranorex support (ideally, along with sample app). I'm afraid, there is nothing anyone here can do or suggest without snapshot and/or sample app.
What kind of update do you expect? If you are experiencing similar problem, please upload Ranorex snapshot of the problematic element. Eventually, send it to Ranorex support (ideally, along with sample app). I'm afraid, there is nothing anyone here can do or suggest without snapshot and/or sample app.
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: 65
- Joined: Wed Sep 24, 2014 7:47 am
- Location: Israel
Re: Xamarin controls are not recognised
you can add a value to a property (e.g. id) of the picture , and then find it by .//picture[@id='myId']
just ignore the rest of the path, and it will find the picture fast
just ignore the rest of the path, and it will find the picture fast
Re: Xamarin controls are not recognised
Hi,
Our UI controls did't have IDs and in order to add IDs that are visible in Ranorex Spy, i've updated Xamarin.Forms (from 2.0.x to 2.2.x) and i've used AutomationID property for controls. This AutomationID is visible in Ranorex Spy as Content description (or something like that).
Thanks!
Our UI controls did't have IDs and in order to add IDs that are visible in Ranorex Spy, i've updated Xamarin.Forms (from 2.0.x to 2.2.x) and i've used AutomationID property for controls. This AutomationID is visible in Ranorex Spy as Content description (or something like that).
Thanks!