The plugin provides custom keywords to work with Gmail mailbox. Using these keywords, you can read, send, delete messages and more.
Read and Write Gmail Messages Keywords
free for 30 days?
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
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.
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)
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.
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.
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
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.