|
| 1 | +# katalon-studio-sealights-plugin |
| 2 | + |
| 3 | +## Purpose |
| 4 | +This plugin is for integration with Sealights to |
| 5 | +- List of excluded test cases that has been analyzed by previous run to reduce the needed to run all test cases. |
| 6 | +- Report the test result back to feed for Sealights Test Analysis. |
| 7 | + |
| 8 | +- This plugin does not include installing Sealights agent or code instrument to collect test coverage. |
| 9 | + |
| 10 | +## How to use |
| 11 | +1. Install the plugins via Katatan store [] |
| 12 | +2. Setup plugin configuration |
| 13 | + |
| 14 | +  |
| 15 | + |
| 16 | + - Using Sealights: Enable or disable Sealights Plugin. |
| 17 | + - URL: Your sealights url to connect sealights server. |
| 18 | + - Agent Token: Agent token generated from the SeaLights server |
| 19 | + - Lab Id: Unique ID for a set of test labs in case multiple labs are running simultaneously. |
| 20 | + - Test Stage: Name of the test stage. |
| 21 | + - Build Session Id: Session ID of configuration created. |
| 22 | + - Session Timeout (seconds): Test session timeout (by default: 14400). |
| 23 | +4. Create dynamic test suite. |
| 24 | +When creating dynamic test suite. The plugin will get the exclude test case from sealights and generate a list of test cases to run. |
| 25 | +5. Execute the created dynamic test suite with either one of two mode below: |
| 26 | + + Inside Katalon Studio: |
| 27 | + It should be only used in testing mode with testing environment do not run this in real environment as it could impact the Sealights Test Analysis for next run. |
| 28 | + + In command-line mode execution |
| 29 | + #### List Syntax Sealights |
| 30 | + Default if you don't pass parameters. Then the default value will be taken from within `Katalon Studio` => `Project` => `Settings` => `Plugins` => `Sealights` |
| 31 | + - `-sealightsUrl` : URL connect to sealights server (Optional). |
| 32 | + - `-sealightsAgentToken`: Agent Token (Optional). |
| 33 | + - `-sealightsLabId`: Lab Id (Optional). |
| 34 | + - `-sealightsTestStage`: Test Stage (Optional). |
| 35 | + - `-sealightsBSId`: Build Session Id (Optional). |
| 36 | + - `-sealightsSessionTimeout`: Session Timeout (default value is 14400) (Optional). |
| 37 | + |
| 38 | + ** If optional value is not set, It will be default to UI configuration value if it is not set. |
| 39 | + |
| 40 | +#### For examples |
| 41 | +``` |
| 42 | +katalonc -noSplash -runMode=console -projectPath="C:\Users\Katalon Studio\Project\YourProject.prj" -retry=0 -testSuitePath="Test Suites/download" -executionProfile="default" -browserType="Chrome" --config -sealightsUrl="your sealights server" -sealightsAgentToken="your sealights agent token" |
| 43 | +``` |
| 44 | + |
| 45 | + |
| 46 | +## How to contribute |
| 47 | +### Build |
| 48 | +Requirements: |
| 49 | + |
| 50 | +- JDK 1.8 |
| 51 | +- Maven 3.3+ |
| 52 | + |
| 53 | +Build |
| 54 | + |
| 55 | +`mvn clean package` |
| 56 | + |
| 57 | +### How to test plugin jar in Katalon Studio |
| 58 | + |
| 59 | +- Checkout or get a build of branch `staging-plugin` of KS |
| 60 | +- After KS opens, please click on `Plugin` menu, select `Install Plugin` and choose generated jar file. |
| 61 | +- If you want to reload this plugin, please click on `Plugin` menu, select `Uninstall Plugin` then select `Install Plugin` again. |
| 62 | + |
| 63 | + |
| 64 | +## Companion products |
| 65 | + |
| 66 | +### Katalon TestOps |
| 67 | + |
| 68 | +[Katalon TestOps](https://analytics.katalon.com) 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. |
| 69 | + |
| 70 | +* Read our [documentation](https://docs.katalon.com/katalon-analytics/docs/overview.html). |
| 71 | +* Ask a question on [Forum](https://forum.katalon.com/categories/katalon-analytics). |
| 72 | +* Request a new feature on [GitHub](CONTRIBUTING.md). |
| 73 | +* Vote for [Popular Feature Requests](https://github.com/katalon-analytics/katalon-analytics/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request+sort%3Areactions-%2B1-desc). |
| 74 | +* File a bug in [GitHub Issues](https://github.com/katalon-analytics/katalon-analytics/issues). |
| 75 | + |
| 76 | +### Katalon Studio |
| 77 | +[Katalon Studio](https://www.katalon.com) 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](https://www.katalon.com/features/). |
| 78 | + |
0 commit comments