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

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -