Is it possible to verify toast in appium, using selendroid mode?
If it does, can someone explain how it's done?
Is it possible to verify toast in appium, using selendroid mode?
If it does, can someone explain how it's done?
you can do that using the following code:
selendroidDriver.findElementById("showToastButton").click(); // Button that shows toast upon clicking
WebElement toast = TestWaiter.waitForElement(By.linkText("Hello selendroid toast!"), 3, selendroidDriver);
Assert.assertNotNull(toast);