When you want to interact with services not managed by your organization (such as Google or Microsoft) using MagicPod, we recommend using the official Web APIs provided by the service providers.
Using Web APIs offers the following benefits:
- Reliable operations through stable interfaces
- Robust tests that are not affected by UI changes
For example, with Gmail, you can create email tests using the Web API.
Reference: Email tests with Gmail Web API
Please refer to this help page for information on how to call Web APIs within test cases.
On the other hand, we do not recommend interacting with services not managed by your organization through the UI. The reasons are as follows:
- Impact of UI changes
- There is a risk that tests will stop working when the service's UI specifications are changed
- Difficulty in responding to issues
- When service-side specification changes or defects occur, it is difficult to work around them through modifications on the application side