Code Monkey home page Code Monkey logo

katalon-studio-basic-report-plugin's Introduction

katalon-studio-report-plugin

Katalon Studio Report Plugin is a Custom Keyword Plugin that replaces for the current Report feature of Katalon Studio. Starting from v6.1.5, the Report feature is no longer available on Katalon Studio, users need to download this plugin to continue using.

Companion products

Katalon TestOps

Katalon TestOps is a web-based application that provides dynamic perspectives and an insightful look at your automation testing data. You can leverage your automation testing data by transforming and visualizing your data; analyzing test results; seamlessly integrating with such tools as Katalon Studio and Jira; maximizing the testing capacity with remote execution.

Katalon Studio

Katalon Studio is a free and complete automation testing solution for Web, Mobile, and API testing with modern methodologies (Data-Driven Testing, TDD/BDD, Page Object Model, etc.) as well as advanced integration (JIRA, qTest, Slack, CI, Katalon TestOps, etc.). Learn more about Katalon Studio features.

How to use

  • Download project.
  • Install gradle here.

⚠️ Gradle version must be greater than 6.1.0 . ⚠️ Java version 17.

  • Run command to install all dependencies.

gradle katalonCopyDependencies

  • Open project with Katalon Studio and work normally.

How to build plugin

  • Run command to build.

gradle katalonPluginPackage

katalon-studio-basic-report-plugin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

katalon-studio-basic-report-plugin's Issues

PDF report is not getting generated

Operating System: (for example: Windows 10 or OSX Sierra)

Windows 10

Katalon Studio Version:

5.9.1

Katalon Studio logs:

  • Windows logs folder: \config.metadata.log

Warning: NLS missing message: COMMAND_NAME_OPEN in: com.kms.katalon.composer.components.impl.constants.composerComponentsImplMessages
Warning: NLS unused message: Key in: com.kms.katalon.composer.search.constants.composerSearchMessages

  • MacOS logs folder: file:///Applications/Katalon%20Studio.app/Contents/MacOS/config/.metadata/.plugins/org.eclipse.ui.workbench/log

Environment (for Web testing):

Browser and Browser version - Chrome

Version 70.0.3538.110 (Official Build) (64-bit)

Environment (for Mobile testing):

  • Appium version

  • Mobile platform/version under test: (for example: iOS 11 or Android 7)

  • Real device or emulator/simulator: (for example: iPhone 6s real or Nexus 6 simulator)

  • Xcode version (for iOS): (for example: Xcode 8 or Xcode 11)

  • Appium Logs: .appium

  • Application file (.apk/.ipa): (if possible)

Steps to reproduce:

Please include an SSCCE (Short, Self Contained, Correct [compilable] example) description http://sscce.org/

I have a simple suite of 6 test cases. Once the suite is executed, I am trying to export the report in PDF format, which is not completing at all and running endlessly. I have to close Katalon Studion from Windows Task Manager to end this process.

Please see the second error message.

Please also provide your test scripts if possible.

Expected Behavior:

The report should be generated with seconds.

Actual Behavior:

PDF report is not getting generated.
image

Screenshots / Videos: (please attach screenshots or videos if necessary to reproduce the issue)

Problem Occurred: Reloading Plugins...' Error reloading plugins

On my Win10 (64bit) machine, I installed Katalon v.6.3.2 and the Basic Report plugin with an API key. Katalon 'Managed Plugins' shows that Basic Report is installed with an API Key. I ran tests, created reports in my project folder on the local drive as expected. Then I rebooted my computer, and Katalon displays the following error. Please HELP!!

Error reloading plugins
com.kms.katalon.plugin.models.ReloadPluginsException: Unexpected error occurs during executing reload plugins under account: credential: [email protected], endpoint: https://store.katalon.com/api/products/ks?appVersion=6.3.2
at com.kms.katalon.plugin.service.PluginService.reloadPlugins(PluginService.java:189)
at com.kms.katalon.composer.handlers.ReloadPluginsHandler$1.run(ReloadPluginsHandler.java:61)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.kms.katalon.plugin.models.KStoreClientExceptionWithInfo: Unexpected error occurs during executing get latest plugins
at com.kms.katalon.plugin.service.KStoreRestClient.getLatestPlugins(KStoreRestClient.java:80)
at com.kms.katalon.plugin.service.PluginService.fetchLatestPlugins(PluginService.java:201)
at com.kms.katalon.plugin.service.PluginService.reloadPlugins(PluginService.java:74)
... 2 more
Caused by: com.kms.katalon.plugin.models.KStoreClientException: Invalid Request. Status Code: 401. Message: Unauthorized
at com.kms.katalon.plugin.service.KStoreRestClient.executeGetRequest(KStoreRestClient.java:263)
at com.kms.katalon.plugin.service.KStoreRestClient.getLatestPlugins(KStoreRestClient.java:59)
... 4 more

Basic Report plugin: Report folder is not created or displayed in the Test Explorer pane of Katalon Studio

Hi,
Yesterday, I also downloaded and installed Katalon Studio v.6.3.2 and installed the Basic Report plugin onto my Win10 64 bit computer. Running Chrome v.76.0.3809. I am also experiencing the same issue, where the Reports folder is not being created in the Test Explorer tree, after running my first Test Suite (see screenshots attached). Log View is showing the reports are being created in the C:directory, as EdWellDataLabs initally reported.
image

image

In addition to my previous report, I am wondering , is a Report folder is supposed to be created in the Test Explorer tree? Or, since this is a new plugin, that reports can only be found on the C: drive?

The Katalon store page nor the documentation are clear about this, and setup in Project Settings only checks for the report formats that will be created. Please advise.

[PDF] Cannot export PDF file without image attached

Effective: From 6.3.0
STR: Replace execution.log file below at current execution.log file, reopen project, naviagate Result tab, export PDF report
Actual Result: Cannot export PDF report
pdf
Expected Result: The PDF report should be export normally.
.log

The status of the skipped test case is pass in html Report of Katalon 5.10.1

Preconditions:

  • There are 2 test cases have been created
  • There is a test suite which contains 2 test cases above
  • Katalon version 5.10.1 is installed

Steps to reproduce:

  • Skip one test case in the test suite in precondition by using Test Listener
  • Run the test suite
  • Verify the status of 2 test cases in generated html report (under Reports folder)

Expected Behavior:

The status of html report should specify that 1 test case passed and 1 skipped

Actual Behavior: The status in html report is:

Status: 2 test total, 2 passed, 0 failed, 0 error, 0 incomplete

[PDF] Cannot export PDF report if a test step's message contains any special characters

Related issues

https://forum.katalon.com/t/pdf-report-exception-in-command-line/31357
https://forum.katalon.com/t/bug-after-generating-pdf/30804

Steps

  1. Create a test case with this script:
def a = '&'
println a
  1. Add the test case to a test suite
  2. Enable generate PDF report on Project Settings/Plugins/Report
  3. Run the test suite

Test

  • Expected result: KS can generate PDF report without any exception
  • Actual result: KS can generate PDF but throw an exception:
SEVERE: Error parsing styled text.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 11; The entity name must immediately follow the '&' in the entity reference.
	at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)

Show detailed data as the old built-in reports

https://forum.katalon.com/t/basic-report-plugin-improvement-suggestion/32841.

Old report looked way better, than the new one with the plugin.
Here what I mean in way better looking:
In the old one, there are shown data detailed, for exmple what I print in console, or in logs. Also, for descriptions, I used comments, where I dynamically was giving i.e usernames and password. But in the new one, when I use such kind of method, it just does not show, which username, password I've used.

  1. New Katalon Report, Katalon version 6.3.3:
    1.1 image|690x88
    1.2 image|557x56

  2. Old Katalon Report, Katalon version: 6.1.0:
    2.1 image|582x265
    2.2 Detailed report with dynamically given username and password, using variables, excel file, etc.
    image|688x80

As you see in the new katalon report, detailed info is not shown.

Some documentation on how this report building works

Hello
Can we please have some documentation on how this plugin makes or construct the report say of type html ?

So we can make neccessary changes to this code base to accomadate some information in the report which we wanted to see like some global variables etc and build the plugin with gradle and use the same in our project

Thanks

Not generating PDF File report in the Email.

Katalon v6.2.2 Not generating PDF reports. Any help is massively appreciated.

  1. Have enabled PDF File report in my "Email Settings"

image

  1. Console Logs: (Notice there is no PDF file is being generated)
2019-07-19 12:37:50.217 INFO  c.k.katalon.core.main.TestCaseExecutor   - END Test Cases/HRM/End2End_Test
2019-07-19 12:37:50.333 INFO  com.kms.katalon.core.util.KeywordUtil    - Start generating HTML report folder at: C:\Users\tests\20190719_123728...
2019-07-19 12:37:50.348 INFO  com.kms.katalon.core.util.KeywordUtil    - HTML report generated
2019-07-19 12:37:50.349 INFO  com.kms.katalon.core.util.KeywordUtil    - Start generating CSV report folder at: C:\Users\tests\20190719_123728...
2019-07-19 12:37:50.367 INFO  com.kms.katalon.core.util.KeywordUtil    - CSV report generated
2019-07-19 12:37:50.367 INFO  com.kms.katalon.core.util.KeywordUtil    - Start generating JUnit report folder at: C:\Users\test\20190719_123728...
2019-07-19 12:37:50.556 INFO  com.kms.katalon.core.util.KeywordUtil    - JUnit report generated
2019-07-19 12:37:50.600 INFO  c.k.katalon.core.main.TestSuiteExecutor  - --------------------
2019-07-19 12:37:50.601 INFO  c.k.katalon.core.main.TestSuiteExecutor  - END Test Suites/APP_Regression_Tests
2019-07-19 12:37:50.601 INFO  c.k.katalon.core.main.TestSuiteExecutor  - ====================
  1. Email: There is no PDF File.

image

Please help!!!!!!!

Remove auto export JUnit in Settings

Starting in v7.0.0, KS will automatically export JUnit in the execution folder. Therefore, the Basic report plugin doesn't need to export JUnit report anymore. We will remove JUnit export format in Plugins settings.

Before:

Screen Shot 2019-09-17 at 9 33 04 AM

After:

Screen Shot 2019-09-17 at 9 22 20 AM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.