AWS Google account login

0

Hi, I'm doing a test with appium and AWS DEVICE FARM my app use a login with gmail account, How can I add my Google account to the devices of AWS device farm ?

Omar
已提問 5 個月前檢視次數 165 次
1 個回答
0
To add your Google account to the devices in AWS Device Farm for testing your app with Appium, you can follow these steps:
Create Test Run:
Log in to the AWS Management Console and navigate to the Device Farm dashboard.
Create a new test run for your app by selecting the device pool and test type (Appium).
Upload Your App:
Upload your app to the test run. Ensure that the app includes the functionality for logging in with a Google account.
Configure Appium Test:
Configure your Appium test scripts to perform the login using a Google account.
Provide Google Account Credentials:
In your Appium test script, provide the Google account credentials (username and password) as input parameters or environment variables.
Run Test in AWS Device Farm:
Start the test run in AWS Device Farm. The test will execute on the selected devices, and your Appium scripts will interact with the app, including logging in with the provided Google account credentials.
Review Test Results:
Once the test run is complete, review the test results in the Device Farm console. You can see if the login with the Google account was successful and any other test outcomes.
Note: When providing Google account credentials in your test scripts, ensure that you handle sensitive information securely. Avoid hardcoding credentials directly into the scripts and consider using environment variables or secure storage mechanisms.

By following these steps, you can add your Google account to the devices in AWS Device Farm and test your app's login functionality using Appium.

Hope it clarifies and if does I would appreciate answer to be accepted so that community can benefit for clarity, thanks ;)

profile picture
專家
已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南