In Katalon Studio, you can configure your Gmail account’s generated password to send test reports via email using the “Email” plugin. Here’s a step-by-step guide on how to do it:
- Generate a Gmail App Password:
- Go to your Google Account settings: https://myaccount.google.com/
- In the “Security” section, navigate to “App passwords.”
- Select the app you want to use (Katalon Studio) and choose the device (Windows Computer).
- Click “Generate.”
- Configure Katalon Studio Email Settings:
- Open your Katalon Studio project.
- In the main menu, go to “Project” > “Settings.”
- In the left sidebar, select “Email.”
- Check the “Enable email notification” option.
- Set the “Mail Server Host” to “smtp.gmail.com.”
- Set the “Mail Server Port” to “587” (TLS) or “465” (SSL).
- Enter your Gmail address in the “Username” field.
- Paste the generated Gmail App Password in the “Password” field.
- Enter the sender and recipient email addresses.
- Customize the email subject and body as needed.
- Click “Test Connection” to verify that the settings are correct.
- Set Up Test Suite Execution:
- Open your test suite.
- In the test suite editor, click on the “Email” tab.
- Check the “Enable email notification” option.
- Optionally, customize the email subject and body for this test suite.
- Run Test Suite with Email Report:
- Run your test suite by clicking the “Run” button or using the command-line execution.
- After the test execution is completed, Katalon Studio will send the test report to the specified email addresses.
Hope this will work!
2 Likes
Thank you for the solution
Thanks for the detailed steps and solution
1 Like