TestProject Forum

Addon launches ios mail app with black screen

hello community testproject
addon Launch App with Arguments / Env Variables launches ios mail app black screen, message app starts well. What to do so that I can read the code in the email during the test.
Thank you very much for your help!

Hi,
If you are using a google account for example,
A much better way to get the OTP or the link is to use testproject RESTful API Client
and query the email provider API endpoints for example this endpoint in google allows for searching messages:

this ensures a much more reliable test method without switching between applications and relying on different apps during your tests.

1 Like