I want to click on say Phone tile icon on Android mobile.
It seems that I need to launch appium server with some app but not sure what app I should give it here. here I want to click on icons with in phone desktop.
I wrote below test for this but is not working
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.SetCapability(CapabilityType.BrowserName, “”);
capabilities.SetCapability(“deviceName”, “SampleSimulator”);
capabilities.SetCapability(“platformVersion”, “5.0”);
capabilities.SetCapability(“platformName”, “Android”);
capabilities.SetCapability(“appium-version”, “1.1”);
IWebDriver driver = new RemoteWebDriver(new Uri(“http://127.0.0.1:4723/wd/hub”), capabilities);
IWebElement button = driver.FindElement(By.Name(“Phone”));
button.Click();
driver.Quit();
Can some help me?