GMAIL CALENDAR

Modified on Fri, 6 Dec, 2024 at 4:49 PM

SOP: Running XGMAIL Project Locally

Objective

To successfully run an XGMAIL project locally by following a specific approach that involves signing in to a Google account.

Key Steps

  1. Ensure all Chrome tabs are closed.

  2. Open the task manager and check for any running Chrome tabs.

  3. If there are running Chrome tabs, click on the tab and select "End Task" to close it.

  4. Open a new terminal and click "Split Terminal" to create two terminals (left and right).

  5. In the left terminal, run the python command: python chrome-run.py to sign in to Google.

  6. Select the appropriate Google account ID.

  7. Do not minimize the window.

  8. In the right terminal, run the command: ./gradlew run to start the test case.

  9. Monitor the execution in the terminal.

  10. Ensure you do not close the Chrome tab while the test case runs to avoid errors.

Cautionary Notes

  • Make sure to close all Chrome tabs before running the project.

  • Check the task manager to ensure no Chrome tabs are running in the background.

  • Do not close the Chrome tab while the test case is running to prevent errors.

Tips for Efficiency

  • Split the terminal for better organization.

  • Ensure the below line in the constructor is uncommented for successful execution.

  • options.setExperimentalOption("debuggerAddress""127.0.0.1:9222");

  • Follow the step-by-step approach to run the project smoothly.

Link to Video Solution

https://loom.com/share/d7b9a8fbc4094f3b9727369ee3c0a513?src=composer

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article