selenium - Is it possible to verify toast in appium, using selendroid mode? -


is possible verify toast in appium, using selendroid mode?

if does, can explain how it's done?

you can using following code:

selendroiddriver.findelementbyid("showtoastbutton").click(); // button shows toast upon clicking         webelement toast = testwaiter.waitforelement(by.linktext("hello selendroid toast!"), 3, selendroiddriver);         assert.assertnotnull(toast); 

Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -