we have app that is developed on appcelerator ( a tool used in development of mobile app by which no need to write separate code for iOS and Android app )
our objective is to write a single test script that would test on Android as well on iOS
currently the problem we are facing is either uiautomator/appium inspector not able to identify the id/content-desc attribute of any elements
so we don’t have any other option than xpath
But problem with xpath is on android and ios xpath will be diffrent for the same element
that means we would have to maintain two object repo’s for this
(this would cost High maintenance)
is there any other tool/work around that could be done to show the all attributes of those elements ?
or any other solution is appreciated
Thank you for your reply… this means we have to maintain seprate way to find elements in iOS and android but if we have element id’s visible then driver.findelement(by.id(“idname”)) would work in both platform … so good solution would be to have uiautomator/appium inspector to detect these attributes … is there alternate tool avialable ???