Since I\'m new to mobile automation, I\'ve been trying to run simple activities using appium maven and eclipse. But When I try to run Calculator app opens but the elements a
Appium is not Selenium: they both implemented using JSON wire protocol and has similar APIs, but not the same ones:
Supported locator strategies for Native android app:
So you cannot use By.name locator strategy for Android driver session, it's not supported.
To make it easy, I suggest using MobileBy in place of By in Appium native tests: you will get the proper options.