I'm trying to get identifiers for Uielements using appium inspector for an app generated with appcelerator
When I used Appium inspector to get UIElements IDs the result for both elements is similar to
name:
type: UIATextField
value:
label:
hint:
enabled: true
visible: true
valid: true
location: {73, 37.5}
size: {218, 15}
xpath: //UIAApplication[1]/UIAWindow[1]/UIATextField[1]
In both cases I can't retrieve the name property
Mi index.xml is similar to:
<Alloy>
<Window class="container">
<TextField id="username"/>
<TextField id="password"/>
</Window>
</Alloy>
Which property should I use to identify UiElements? Do I Have to use xpath instead to identify this elements ?
Best Regards