[iOS] Are there any built-in functions for basic push notification use-cases

Hello everyone,

I wonder if there is any built-in functions for some basic push notification use-cases on both Android & iOS

  1. Check if the phone can receive notification
    • I go through Katalon document and only see 2 built-in functions for notification
  2. Verify content of notification
  3. Tap on notification to open app then verify the screen on app

Thank you in advance.

Hi @Tam1,

The push notification interaction is indeed pretty limited, mostly due to the limits of the underlying Appium server. The openNotifications() and closeNotifications() will open the notifications panel, but after that, it’s pretty much up to you to perform actions.

Here is a StackOverflow post which suggests a way to get the push notification objects:

And a pretty detailed post from an Appium site:

Hope this helps,


1 Like

Thanks Chris for your help.

I did go through 2 links above and succeeded with Android, but I thought it was a workaround way, so just ask here to see if there is a better way to do that :slight_smile:

1 Like