How to create an alert while running automation script using Appium?

How to create an alert while running automation script using Appium?

Anyone have the idea about it?

Thanks,
Sanoj