Your id does not have package name as usually have android apps.
You have two options:
1 Disable disableIdLocatorAutocompletion as mentioned in link send by @mykola-mokhnach
2. Use UiAutomator search ->
WebElement el = driver.findElement(AppiumBy.androidUIAutomator("new UiSelector().resourceId(\"nextBtn\")"));
// more to read -> https://developer.android.com/reference/androidx/test/uiautomator/UiSelector
Hi @Aleksei@mykola-mokhnach
Thanks for your feedback, and apologies for following up. I’m still learning
The screenshot below is of code where testID is set. When I run builds locally this appears as ‘accessibilityid’ via appium inspector and when run the automation code(using eclipse) it works fine - finds accessibilityid values no problem
However, when builds run from main company build machine - the elements show as ‘id’
Any known reason for this? - or could it be down to disableIdLocatorAutocompletion not equal true?
@Aleksei - would it be ok to DM you?
i’m coming from manual testing background, with knowledge of coding - but technical aspects of setup is what holding me back. Noone else in company here able help with this as just small team