title: Robotframework - Appium Locating an Element (XPATH - NO IDENTIFICATORS)
body: <p>I need help clicking on an Element in an Android App, here's the source of the page, I'm using Robot Framework with it's Appium Library.</p>
  <pre><code>&lt;android.view.View index=&quot;0&quot; package=&quot;com.zentity.android.redesign.rbcz.mobilbank.test&quot; class=&quot;android.view.View&quot; text=&quot;&quot; checkable=&quot;false&quot; checked=&quot;false&quot; clickable=&quot;true&quot; enabled=&quot;true&quot; focusable=&quot;true&quot; focused=&quot;fal
  se&quot; long-clickable=&quot;false&quot; password=&quot;false&quot; scrollable=&quot;false&quot; selected=&quot;false&quot; bounds=&quot;[0,1458][1080,1626]&quot; displayed=&quot;true&quot; /&gt;
  
  &lt;android.view.View index=&quot;1&quot; package=&quot;com.zentity.android.redesign.rbcz.mobilbank.test&quot; class=&quot;android.view.View&quot; text=&quot;&quot; checkable=&quot;false&quot; checked=&quot;false&quot; clickable=&quot;true&quot; enabled=&quot;false&quot; focusable=&quot;false&quot; focused=&quot;f
  alse&quot; long-clickable=&quot;false&quot; password=&quot;false&quot; scrollable=&quot;false&quot; selected=&quot;false&quot; bounds=&quot;[24,1470][168,1614]&quot; displayed=&quot;true&quot;&gt;
  
  &lt;android.view.View index=&quot;0&quot; package=&quot;com.zentity.android.redesign.rbcz.mobilbank.test&quot; class=&quot;android.view.View&quot; text=&quot;&quot; content-desc=&quot;Internet activation&quot; checkable=&quot;false&quot; checked=&quot;false&quot; clickable=&quot;false&quot; enable
  d=&quot;true&quot; focusable=&quot;false&quot; focused=&quot;false&quot; long-clickable=&quot;false&quot; password=&quot;false&quot; scrollable=&quot;false&quot; selected=&quot;false&quot; bounds=&quot;[72,1518][120,1566]&quot; displayed=&quot;true&quot; /&gt;
                    &lt;/android.view.View&gt;
  
  &lt;android.view.View index=&quot;2&quot; package=&quot;com.zentity.android.redesign.rbcz.mobilbank.test&quot; class=&quot;android.view.View&quot; text=&quot;Internetové bankovnictví&quot; checkable=&quot;false&quot; checked=&quot;false&quot; clickable=&quot;false&quot; enabled=&quot;true&quot; focu
  sable=&quot;false&quot; focused=&quot;false&quot; long-clickable=&quot;false&quot; password=&quot;false&quot; scrollable=&quot;false&quot; selected=&quot;false&quot; bounds=&quot;[192,1512][721,1572]&quot; displayed=&quot;true&quot; /&gt;
                  &lt;/android.view.View&gt;
  </code></pre>
  <p>button looks like this</p>
  <p><a href="https://i.stack.imgur.com/rsUI7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rsUI7.png" alt="Button look" /></a></p>
  <p>Problem is that only clickable element is the first view with index &quot;0&quot;.</p>
  <p>I've tried following:</p>
  <ol>
  <li><p>Click Text 'Internetové bankovnictví' but it's clickable=false so it doesn't click, also tried the Tap Function in Appium Library by Robot Framework</p>
  </li>
  <li><p>Click Element with absolute xpath <code>xpath=//android.view.View[@index='1']/android.view.View[@index='0']</code> while <code>android.view.View[@index='0']</code> is clickable, but it doesn't find the element with the xpath I set.</p>
  </li>
  </ol>