0

So i am attempting to Automate verification of an automatically generated e-mail. I am fairly new to appium, and was wondering if there is a way that i could automate the device to open the emails , allowing me to automate steps to open the relevant email and capture the text?

Cheers.

1 Answers1

0

For Android, all you need is the .apk (or optionally corresponding activities) of the email app you wish to open.

The default email app is com.android.email and can be extracted via instructions on this post, and if you need it, you can find the activities several ways

If you want to use a different email app, you'll simply use the appropriate package name in step 2 of the .apk extraction instructions.

Then it's as simple as plugging the appropriate values in for the desiredCapabilities as you would any other app. Ex: caps.setCapability("app", "/path/to/email.apk")

Community
  • 1
  • 1
econoMichael
  • 657
  • 3
  • 13