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
asked 5 months ago155 views
1 Answer
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
EXPERT
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions