# Unable to select locator with getText attribute

**URL:** <https://discuss.appium.io/t/unable-to-select-locator-with-gettext-attribute/37203>\
**Category:** Support\
**Created:** [September 5, 2022, 1:21pm UTC](https://discuss.appium.io/t/unable-to-select-locator-with-gettext-attribute/37203 "2022-09-05T13:21:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Aleksei](https://discuss.appium.io/user_avatar/discuss.appium.io/aleksei/32/6267_2.png) [@Aleksei](https://discuss.appium.io/u/Aleksei)\
**Post date:** [September 5, 2022, 2:04pm UTC](https://discuss.appium.io/t/unable-to-select-locator-with-gettext-attribute/37203/2 "2022-09-05T14:04:10Z")

</div>

try using native locators -\> [How to get Android element by id that is set programmatically](https://discuss.appium.io/t/how-to-get-android-element-by-id-that-is-set-programmatically/32550/8)

---

_[View the full topic](https://discuss.appium.io/t/unable-to-select-locator-with-gettext-attribute/37203)._
