简体   繁体   English

如何在Amazon设备场上测试推送通知

[英]How to test push notifications on amazon device farm

我想测试一下,如果设备场中的每个模型都接收到来自gcm的推送通知,但是如您所知,如果未在设备上添加google帐户,则设备将不会收到通知,我如何自动添加google帐户,谢谢

You can write a test using a framework of your choice (Appium, Calabash, Espresso etc.) to add the Google account to the device. 您可以使用自己选择的框架(Appium,Calabash,Espresso等)编写测试,以将Google帐户添加到设备中。 AWS Device Farm does not provide Google credentials so you must bring your own, sign-in using these credentials, and remove them when done. AWS Device Farm不提供Google凭证,因此您必须携带自己的凭证,使用这些凭证登录,并在完成后将其删除。

However, please note that it is not recommended to add accounts in the AWS Device Farm public fleet. 但是,请注意,不建议在AWS Device Farm公共舰队中添加账户。 Please review private devices and reach out to us if they appear to be a possibility for your use case. 如果您的用例似乎有可能使用私人设备 ,请检查并联系我们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM