TestProject Forum
Powered by leading experts in the test automation community

iOS Error message

How can I validate the error message in iOS?

In Android, I can get the toast Message but iOS I don’t know how to do it.

Hello,
Verifying toasts should be the same as doing so on Android.


Only that in this case, the element type should not matter when creating it.

I’ve tried it already and didn’t work for me.

We’ve installed the App, and checked if the element is returned by XCUItest, but it’s not. I would suggest consulting the developers on how this element is implemented before continuing further.

1 Like