title: Need to locate Xpath using relative path with navigation from parent node
body: <p>I am using UIautomator to identify objects of a native mobile app. I am trying to locate Xpath for vehicle model field of given screenshot but that object has same class and package name as other 2 objects of same page.</p>
  
  <p>So I am trying to write a relative path.I tried below path which is failing with unable to locate object error. How can I determine the correct xpath here?</p>
  
  <p>I tried below which failed:</p>
  
  <pre><code>xpath="//android.widget.ScrollView/android.widget.LinearLayout/android.widget.LinearLayout/android.widget.Spinner/android.widget.TextView[contains(text(),'86')]"
  </code></pre>
  
  <p>Image:</p>
  
  <p><img src="https://i.stack.imgur.com/4YByD.png" alt="enter image description here"></p>