Katalon Studio 64 Bit v5.4.1 - No Email Sent After Test Suite Runs

Katalon Studio 64 Bit v5.4.1 - No Email Sent After Test Suite Runs

The “Send test email button” works, however, no email is sent after Test Suite runs…

Also, the “Execution” information for the Test Suite has Recipients entered…

See attached MS Word file with screen shots of various Katalon Studio settings…

Got same proplem with Execution on Jenkins Slave/cmd. No e mail report after test execution.

Not sure why, but the MS Word attachment is not displayed above…

Katalon Studio 64 Bit v5.4.1 - No Email Sent After Test Suite Runs.docx

Ok, attached are the steps required to reproduce the “Katalon Studio 64 Bit v5.4.1 - No Email Sent After Test Suite Runs” bug from a fresh new installation, with a fresh New Test Case and a fresh New Test Suite…

Copies of the “…\config\.metatdata\.log” file at various steps attached as well…

I was unable to upload two files that appear to be pertinent to this bug - so I have included their contents below…

com.kms.katalon.execution - project settings.properties file:

#Tue May 01 11:30:12 PDT 2018

mailConfig.encryptionEnabled=true

mailConfig.host=“o0sCT9EoCLpjv3iNyOs1Sg\=\=”

mailConfig.port=“yNUOwk0iqmw\=”

mailConfig.username=“ViRWdnhOYB+czVNILN6plN30EK/ZseSk”

mailConfig.password=“gGJfUltLW5gI6KGNqJGnSdnYiDj97Wy9”

mailConfig.securityProtocol=“Pg7Y8TRF5xI\=”

mailConfig.attachment=true

mailConfig.subject=“Katalon Summary Report”

mailConfig.cc=""

mailConfig.reportRecipients=“hUODI+YZxGLUp/5tWnvoKB5+tkSkRK8j”

mailConfig.reportFormat="[\\n \“LOG\”,\\n \“HTML\”,\\n \“PDF\”,\\n \“CSV\”\\n]"

execution.default.timeout=30

execution.default.openReportAfterExecuting=false

execution.default.quitDriversAfterExecutingTestCase=false

execution.default.quitDriversAfterExecutingTestSuite=true

New test Suite - Post Execution Settings.ts:

<?xml version="1.0" encoding="UTF-8"?>

New Test Suite

false

dedmonds@san.rr.com;

0

30

true

false

a96f1a42-b2da-428d-8431-cec75323e3ed

  <guid>edc63e23-f324-4a9b-a306-f2a3da28f2e7</guid>

  <isReuseDriver>false</isReuseDriver>

  <isRun>true</isRun>

  <testCaseId>Test Cases/New Test Case</testCaseId>

Katalon Studio - New Installation Steps to Reproduce Failure to Send Email.txt

Post Installation.log

Post New Test Suite Run.log

Post Project Settings.log

The current error in Katalon_Studio_Windows_64-5.4.1:

net.sf.jasperreports.engine.util.JRStyledTextParser fatalError

SEVERE: Error parsing styled text.

Here is my latest session info in …\config\.metadata\.log that includes the error above…

katalon.versionNumber=5.4.1

katalon.buildNumber=1

!SESSION 2018-05-02 12:10:10.571 -----------------------------------------------

eclipse.buildId=unknown

java.version=1.8.0_102

java.vendor=Oracle Corporation

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

Command-line arguments: -os win32 -ws win32 -arch x86_64 -data config

!ENTRY org.eclipse.core.resources 2 10035 2018-05-02 12:10:13.784

!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

Could not find element with Id ‘com.kms.katalon.composer.webservice.handledmenuitem.webServiceRequest’

Could not find element with Id ‘com.kms.katalon.composer.mobile.dynamicmenucontribution.ios’

Could not find element with Id ‘com.kms.katalon.composer.mobile.dynamicmenucontribution.ios’

Warning: NLS unused message: Key in: com.kms.katalon.composer.project.constants.composerProjectMessages

Warning: NLS unused message: Key in: com.kms.katalon.composer.testcase.constants.composerTestcaseMessages

SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.

SLF4J: Defaulting to no-operation (NOP) logger implementation

SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

Warning: NLS unused message: PA_LBL_CREATED_DATE in: com.kms.katalon.composer.testsuite.constants.composerTestsuiteMessages

Warning: NLS unused message: PA_LBL_LAST_UPDATED in: com.kms.katalon.composer.testsuite.constants.composerTestsuiteMessages

Warning: NLS unused message: Key in: com.kms.katalon.composer.objectrepository.constant.composerObjectRepositoryMessages

!ENTRY org.eclipse.egit.ui 2 0 2018-05-02 12:10:18.293

!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git

user global configuration and to define the default location to store repositories: ‘C:\Users\dkedmondson’. If this is

not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and

EGit might behave differently since they see different configuration options.

This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

Warning: NLS unused message: ACTIVATED_PROP_NAME in: com.kms.katalon.constants.messages

Warning: NLS unused message: ACTIVATE_INFO_INVALID in: com.kms.katalon.constants.messages

Warning: NLS unused message: ACTIVATION_CODE_INVALID in: com.kms.katalon.constants.messages

Warning: NLS unused message: ACTIVATION_COLLECT_FAIL_MESSAGE in: com.kms.katalon.constants.messages

Warning: NLS unused message: DIA_TITLE_FUNCTIONS_INTRODUCTION in: com.kms.katalon.constants.messages

Warning: NLS unused message: ERR_CONSOLE_MODE in: com.kms.katalon.constants.messages

Warning: NLS unused message: REQUEST_CODE_PROP_NAME in: com.kms.katalon.constants.messages

Wed May 02 12:10:21 PDT 2018

{“traits”:{“host_name”:“act-dkedmondse6”,“os”:“win32”,“os_type”:“64”,“kat_version”:“5.4.1 build 1”,“kat_type”:“64”,“sessionId”:“900f3dc6-8e9d-4a5f-825b-2338611152de”,“user_key”:“D62719F1E3B6ABFCD1C10F29C76568E1”,“project”:1,“test_case”:1,“test_run”:0,“new_project”:0,“new_test_case”:0,“new_test_run”:0,“new_test_case_created”:0,“new_project_created”:0,“triggeredBy”:“openApplication”,“runningMode”:“gui”},“userId”:“dkedmondson@ucsd.edu”}

Warning: NLS unused message: Key in: com.kms.katalon.composer.webui.constants.composerWebuiMessages

Warning: NLS missing message: DIA_CONFIRM_INSTALL_WEBDRIVER in: com.kms.katalon.composer.webui.constants.composerWebuiMessages

Warning: NLS missing message: DIA_CONFIRM_INSTALL_WEBDRIVER_TITLE in: com.kms.katalon.composer.webui.constants.composerWebuiMessages

Warning: NLS unused message: Key in: com.kms.katalon.composer.integration.qtest.constant.composerIntegrationQtestMessages

Wed May 02 12:12:04 PDT 2018

{“traits”:{“host_name”:“act-dkedmondse6”,“os”:“win32”,“os_type”:“64”,“kat_version”:“5.4.1 build 1”,“kat_type”:“64”,“sessionId”:“900f3dc6-8e9d-4a5f-825b-2338611152de”,“user_key”:“D62719F1E3B6ABFCD1C10F29C76568E1”,“project”:1,“test_case”:1,“test_run”:0,“new_project”:0,“new_test_case”:0,“new_test_run”:0,“new_test_case_created”:0,“new_project_created”:0,“triggeredBy”:“saveAll”,“runningMode”:“gui”},“userId”:“dkedmondson@ucsd.edu”}

Wed May 02 12:12:12 PDT 2018

{“traits”:{“host_name”:“act-dkedmondse6”,“os”:“win32”,“os_type”:“64”,“kat_version”:“5.4.1 build 1”,“kat_type”:“64”,“sessionId”:“900f3dc6-8e9d-4a5f-825b-2338611152de”,“user_key”:“D62719F1E3B6ABFCD1C10F29C76568E1”,“project”:1,“test_case”:1,“test_run”:0,“new_project”:0,“new_test_case”:0,“new_test_run”:0,“new_test_case_created”:0,“new_project_created”:0,“triggeredBy”:“runScript”,“runningMode”:“gui”},“userId”:“dkedmondson@ucsd.edu”}

May 02, 2018 12:12:45 PM net.sf.jasperreports.engine.util.JRStyledTextParser fatalError

SEVERE: Error parsing styled text.

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 37; The content of elements must consist of well-formed character data or markup.

at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)

at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)

at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)

at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)

at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.startOfMarkup(XMLDocumentFragmentScannerImpl.java:2635)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2732)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)

at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)

at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)

at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)

at net.sf.jasperreports.engine.util.JRStyledTextParser.parse(JRStyledTextParser.java:224)

at net.sf.jasperreports.engine.util.JRStyledTextParser.getStyledText(JRStyledTextParser.java:257)

at net.sf.jasperreports.engine.fill.JRFillTextElement.getStyledText(JRFillTextElement.java:621)

at net.sf.jasperreports.engine.fill.JRFillTextElement.getText(JRFillTextElement.java:639)

at net.sf.jasperreports.engine.fill.JRFillTextField.prepare(JRFillTextField.java:791)

at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:352)

at net.sf.jasperreports.engine.fill.JRFillFrame.prepare(JRFillFrame.java:243)

at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:352)

at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:421)

at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:396)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2028)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:752)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:259)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:119)

at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:558)

at net.sf.jasperreports.engine.fill.BaseReportFiller.fill(BaseReportFiller.java:414)

at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:746)

at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:58)

at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.run(AbstractThreadSubreportRunner.java:216)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

May 02, 2018 12:12:46 PM net.sf.jasperreports.engine.export.PdfGlyphRenderer determinePatchedItext

WARNING: Unpatched iText found, cannot use glyph rendering

!ENTRY org.eclipse.core.resources 2 10035 2018-05-02 12:15:53.181

!MESSAGE The workspace will exit with unsaved changes in this session.

I have no problems using this feature in 5.4.1 version. Are you sure it’s working for older versions of Katalon Studio?

Screen Shot 2018-05-03 at 13.54.55.png

Is it possible for a support person to contact me via email - dkedmondson@ucsd.edu ?

The very first instance of Katalon Studio v5.4.1 was installed on my PC (Windows 7), without the benefit of any prior releases…

In that use case, the failure occurs…

Following that, I have installed v5.3.0; v5.3.1; v5.4.0 and all have failed to send an email for various reasons, such as unable to delete a .zip file in the users\dkedmondson\…\temp\ directory in an attempt to install a missing piece from a prior release that might have been missing in the v5.4.1 release…

I finally finished up installing v5.4.1 so that it is the last release installed on my PC and the failure continues…

The specific error on a Windows 7 O/S that is displaying in the Katalon Studio .config/.metatdata/.log file is the following:

May 02, 2018 12:12:45 PM net.sf.jasperreports.engine.util.JRStyledTextParser fatalError

SEVERE: Error parsing styled text.

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 37; The content of elements must consist of well-formed character data or markup.

at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)

at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)

at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)

at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)

at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.startOfMarkup(XMLDocumentFragmentScannerImpl.java:2635)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2732)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)

at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)

at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)

at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)

at net.sf.jasperreports.engine.util.JRStyledTextParser.parse(JRStyledTextParser.java:224)

at net.sf.jasperreports.engine.util.JRStyledTextParser.getStyledText(JRStyledTextParser.java:257)

at net.sf.jasperreports.engine.fill.JRFillTextElement.getStyledText(JRFillTextElement.java:621)

at net.sf.jasperreports.engine.fill.JRFillTextElement.getText(JRFillTextElement.java:639)

at net.sf.jasperreports.engine.fill.JRFillTextField.prepare(JRFillTextField.java:791)

at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:352)

at net.sf.jasperreports.engine.fill.JRFillFrame.prepare(JRFillFrame.java:243)

at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:352)

at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:421)

at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:396)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2028)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:752)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:259)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:119)

at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:558)

at net.sf.jasperreports.engine.fill.BaseReportFiller.fill(BaseReportFiller.java:414)

at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:746)

at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:58)

at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.run(AbstractThreadSubreportRunner.java:216)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

May 02, 2018 12:12:46 PM net.sf.jasperreports.engine.export.PdfGlyphRenderer determinePatchedItext

WARNING: Unpatched iText found, cannot use glyph rendering

The User Guide shows a “Default Execution Settings” page as of January 26, 2018, related to Email Settings, that shows a “Notify me” checkbox…(see attached MS Word screenshot of the Default Execution Settings page)

There was likely an entry in the “C:\Users\\Katalon Studio\Test\settings\internal\com.kms.katalon.execution.properties” file, which may have persisted for users that had an older version of Katalon Studio installed on their PC, that has since been updated on the latest version of Katalon Studio…

My “C:\Users\\Katalon Studio\Test\settings\internal\com.kms.katalon.execution.properties” file does not have this entry, as it was apparently deprecated on the current version of Katalon Studio…

Can anyone provide me with a copy, from their PC, of the entry that is associated with the “Notify me” checkbox?

It should be located near the following entries in the “C:\Users\\Katalon Studio\Test\settings\internal\com.kms.katalon.execution.properties” file:

execution.default.executionConfiguration=“IE”

execution.default.timeout=30

execution.default.openReportAfterExecuting=false

execution.default.quitDriversAfterExecutingTestCase=false

execution.default.quitDriversAfterExecutingTestSuite=true

Thanks in advance…

Default Execution Settings as of Jan 26th 2018.docx

Finally, I have identified a cause for the email notification failure!

News:

On Katalon Studio Windows 64 v5.4.1, if the Project Settings - Email - Report Format - “Include report as email attachment” check box is checked, no matter which additional check boxes are checked or unchecked (HTML file; CSV file; PDF file; Log files ), no email will be sent after a Test Suite is run…

The only way to receive an email after a Test Suite is run, is to avoid checking the Project Settings - Email - Report Format - “Include report as email attachment” check box…

Bad News:

Receiving an email with any attachment is currently not functioning on my PC…

David Edmondson said:

The User Guide shows a “Default Execution Settings” page as of January 26, 2018, related to Email Settings, that shows a “Notify me” checkbox…(see attached MS Word screenshot of the Default Execution Settings page)

There was likely an entry in the “C:\Users\\Katalon Studio\Test\settings\internal\com.kms.katalon.execution.properties” file, which may have persisted for users that had an older version of Katalon Studio installed on their PC, that has since been updated on the latest version of Katalon Studio…

My “C:\Users\\Katalon Studio\Test\settings\internal\com.kms.katalon.execution.properties” file does not have this entry, as it was apparently deprecated on the current version of Katalon Studio…

Can anyone provide me with a copy, from their PC, of the entry that is associated with the “Notify me” checkbox?

It should be located near the following entries in the “C:\Users\\Katalon Studio\Test\settings\internal\com.kms.katalon.execution.properties” file:

execution.default.executionConfiguration=“IE”

execution.default.timeout=30

execution.default.openReportAfterExecuting=false

execution.default.quitDriversAfterExecutingTestCase=false

execution.default.quitDriversAfterExecutingTestSuite=true

Thanks in advance…

‘Notify me’ option didn’t do anything in the past, so we removed it just for your information.