Read and Write Gmail Messages Keywords FREE

The plugin provides custom keywords to work with Gmail mailbox. Using these keywords, you can read, send, delete messages and more.

1.3K

In today's modern web application technologies, giving access to web applications requires users to activate their account by sending an activation or verification code to their personal or business email account has become a tradition.

In test automation, connecting email accounts and manipulating mail content according to test requirements is one of the challenges. Gmail account is mostly used for web application testing to receive activation code or links. We designed this custom plugin to easy Katalon Studio users while working with Gmail.

To begin with, we have added only few custom keywords which can help at basic level. Based on feedback we will be adding more Keywords in future..

Compatible Katalon Studio Version - 6.0.5 and later versions.

List of Keywords,

com.testwithhari.katalon.plugins.Gmail.getEmailsCount com.testwithhari.katalon.plugins.Gmail.readLatestEMailBodyContent com.testwithhari.katalon.plugins.Gmail.deleteAllEMails

com.testwithhari.katalon.plugins.Gmail.sendEmail

Refer a sample project at - https://github.com/hariprasadms/Katalon-Gmail-Plugin-Sample-Project

Youtube video - https://www.youtube.com/watch?v=33uDYlnBgLc

For live support, connect at https://gitter.im/testwithhari/ [ I will try to answer your questions in less than 60 seconds :) ]

Note : Make sure that in the Gmail account you are using with this plugin, "Less secure app access" option is enabled. If this option is not enabled, it throws "username and password is not accepted" error message.

Visit Katalon Forum for Plugin related discussions.

4.1
11 Rating(s)
trilok
March 9, 2020

Hi Hari, I'm receiving below error message,org.codehaus.groovy.runtime.InvokerInvocationException: javax.mail.MessagingException: Connection refused: connect; nested exception is: java.net.ConnectException: Connection refused: connect at com.testwithhari.katalon.plugins.Gmail.invokeMethod(Gmail.groovy) at com.kms.katalon.core.main.CustomKeywordDelegatingMetaClass.invokeStaticMethod(CustomKeywordDelegatingMetaClass.java:50) at SampleGmailReadtest.run(SampleGmailReadtest:18) at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194) at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119) at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337) at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328) at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307) at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299) at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233) at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114) at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105) at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source) at TempTestCase1583756746955.run(TempTestCase1583756746955.groovy:23)

Noor Yeaser Khan
September 9, 2019

This is a great plugin for Katalon Studio. I have used it many times as it helps with an applications Sign Up/Registration with email feature. Thanks Hari! I just got a quick request for you. Can you kindly provide us with any resource/tutorial where we can learn about how to click a button, such as 'Verify Email Address' in an email with HTML content.

Rodrigo Calabretta
November 13, 2019

I want to know the same requested here! I need to automate by clicking on a button

vigneswaran
September 4, 2019

Hi Hari , is there any update regarding how to read a mail if it is in HTML content. regards vignes

TestWithHari
September 4, 2019

Hi Vigneshwaran, Thanks for a 5-star rating. The current version of the plugin should work for HMTL contents as well. Also shortly I am releasing new version with loads of the feature. Meanwhile, if you need more help plrase you always can reach to me. Many thanks.

Adnan Shaikh
August 21, 2019

Unable to see plugin after reloading in Katalon studio but it is active showing on web portal, not working with the latest version 6.3.2

Pete Cavagnaro
August 26, 2019

Hi Hari, running into the same issue on 6.3.2. When I go to re-load plugins the plugin is not displayed in the list

Adnan Shaikh
August 21, 2019

Hi Hari, still it is not working for me. Please provide another solution for this.

TestWithHari
August 20, 2019

Hi Adnan, Thanks for the rating. I just updated the plugin for latest Katalon version. Please try now. Also, If plugin not able to load related issues mostly Katalon code team can helo I believe it is nothing to do with plugins as technically plugin written has less control in resolving the issues. Please let me know if you need more details. If your issue resolved and you think you can change your rating for the plugin is much appriciated. Thanks

Load more Show less
Tester Pegasus
July 16, 2019

I cant read email content or the body for those with PDF attached :(

Tester Pegasus
July 21, 2019

Yes I have shared the details in Q & A.

TestWithHari
July 16, 2019

Hi, Could you please share the error details you are getting. If email body has multi-content, at the moment keyword does not handle such emails. Shortly more capabilities will be added. Please watch this plugin. Thanks.

Ajay Kumar
June 15, 2019

why is it unavailable to install?

TestWithHari
June 15, 2019

Hi Ajay, I am not sure what error you are getting while installing the plugin. I have changed the Katalon compatible version with the plugin. Please try, I think you should be able to install it now. Also if you have still issue with installing the plugin, it is a most likely issue with Katalon store platform because of their site thire site maintance or some related issues. Please let try let me know.

Tina
June 3, 2019

TestWithHari
June 3, 2019

Thanks for the 5-star rating. Please let me know if you need more help. Thanks

Hector P
May 29, 2019

TestWithHari
June 3, 2019

Thanks for the 5-star rating. Please let me know if you need more help. Thanks

Tino
May 10, 2019

TestWithHari
May 10, 2019

Thanks for the 5-star rating, Tino. Please let me know if you need more help. Thanks

jjgonche
April 15, 2019

Thank you very much for this fantastics customs keywords! No need to use javax.mail.jar an several java methods to read Google accounts anymore and for free! Thanks again for this great work.

TestWithHari
April 16, 2019

Hi, Thanks for your feedback. let me know if you come across issues. Also, keep watching the plug-in. Shortly I am adding more keywords.

Araminta
April 5, 2019

Great! This plugin is exactly what I need for my project. Thank you Hari. Looking forward to seeing you list more plugins to store!

TestWithHari
April 5, 2019

Thanks for the feedback Araminta. Shortly, I am adding more keywords for this plugin which can help to do more with Gmail. Also, more plugins will be added soon. Keep watching. Thanks

API keys are required in Katalon Studio Commandline Execution. Generate Key
Information
Project details
Version
1.2.0
Type
Custom Keywords Plugin
Last updated
June 13, 2019 11:21 am
Publisher
Privacy and License Agreement