# Locate object by AutomationId

**URL:** <https://forum.katalon.com/t/locate-object-by-automationid/36091>\
**Category:** Desktop Testing\
**Tags:** desktop, windows, katalon-studio\
**Created:** [November 11, 2019, 10:25am UTC](https://forum.katalon.com/t/locate-object-by-automationid/36091 "2019-11-11T10:25:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RBL](https://avatars.discourse-cdn.com/v4/letter/r/f08c70/32.png) [@RBL](https://forum.katalon.com/u/RBL)\
**Post date:** [November 11, 2019, 10:25am UTC](https://forum.katalon.com/t/locate-object-by-automationid/36091/1 "2019-11-11T10:25:20Z")

</div>

Is it possible to locate objects via AutomationId?

I don’t see an option for it on the Locator Strategy dropdown.

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/1/11618148748a52527167d9aa95ce3cea4b816f9e.png)

---

<div class="post-metadata">

**Author:** ![devalex88](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/devalex88/32/336_2.png) [@devalex88](https://forum.katalon.com/u/devalex88)\
**Post date:** [November 14, 2019, 3:08pm UTC](https://forum.katalon.com/t/locate-object-by-automationid/36091/2 "2019-11-14T15:08:22Z")

</div>

> [@groovy.lang.MissingMethodException: No signature of method - for Window app testing](http://forum.katalon.com/t/groovy-lang-missingmethodexception-no-signature-of-method-for-window-app-testing/36262/3):
>
> Hi @mksrqa, In-case you want to findElement by Selenium.By, you can try this: Windows.getDriver().findElement(By.id('username')) Thanks

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [November 15, 2019, 7:26am UTC](https://forum.katalon.com/t/locate-object-by-automationid/36091/3 "2019-11-15T07:26:18Z")

</div>

> [@RBL](#):
>
> AutomationId

Hi @RBL,

Accessibility ID is Automation ID.

Please refer to this official document: [GitHub - microsoft/WinAppDriver at v1.0](https://github.com/Microsoft/WinAppDriver/tree/v1.0#supported-locators-to-find-ui-elements)

---

<div class="post-metadata">

**Author:** ![ryan.leenay](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@ryan.leenay](https://forum.katalon.com/u/ryan.leenay)\
**Post date:** [December 11, 2019, 10:56pm UTC](https://forum.katalon.com/t/locate-object-by-automationid/36091/4 "2019-12-11T22:56:48Z")

</div>

Can you make it so that the generator reconizes this as well.

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [December 12, 2019, 10:45am UTC](https://forum.katalon.com/t/locate-object-by-automationid/36091/5 "2019-12-12T10:45:10Z")

</div>

Hi @ryan.leenay,

After capturing object, you can change the **Locator Strategy** to Accessibility ID and press the **Generate** button. Katalon Studio will help to find the correct Accessibility ID of the selected element as well.

 ![59%20PM](https://europe1.discourse-cdn.com/katalon/original/2X/a/a79a408cd2cfe96f200e8d696cf3b59052dc4c37.png)

---

<div class="post-metadata">

**Author:** ![ryan.leenay](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@ryan.leenay](https://forum.katalon.com/u/ryan.leenay)\
**Post date:** [December 12, 2019, 5:49pm UTC](https://forum.katalon.com/t/locate-object-by-automationid/36091/6 "2019-12-12T17:49:12Z")

</div>

No it does not. After clicking generate i get a bank result

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/d/d48f47027847ea5db8a25de373fb3afb67dceb8f.png)

If i then manually copy in the id and click highlight i does find it.

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/7/7cf0b7b2c3dff0b3e6ef573b1e7a6cd22becc5d7.png)

Using version 7.1.2
