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
Ensure all Chrome tabs are closed.
Open the task manager and check for any running Chrome tabs.
If there are running Chrome tabs, click on the tab and select "End Task" to close it.
Open a new terminal and click "Split Terminal" to create two terminals (left and right).
In the left terminal, run the python command: python chrome-run.py to sign in to Google.
Select the appropriate Google account ID.
Do not minimize the window.
In the right terminal, run the command: ./gradlew run to start the test case.
Monitor the execution in the terminal.
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
Feedback sent
We appreciate your effort and will try to fix the article