Upload Test to Katalon TestOps via Jasmine

We can submit results from the Jasmine test frameworks to Katalon TestOps. An example with the Jasmine test can be download from here.

On the Visual Studio Code, open a file Jasmine.

Open file "package.json".

Type the command npm install, press Enter, and wait a few minutes for running.

On the page Katalon TestOps, we do 5 steps as follow:

  • Choose a project, which we want to upload the test results.
  • Click the tab Configurations.
  • Click the tab Framework Integration.
  • On the board Framework Integration, choose the tab Mocha.
  • Click the button Copy on the right of the item Install dependency. And now we copied the command line npm i -s @katalon/testops-jasmine.

On the Visual Studio Code, file "package.json", right-click for pasting the command npm i -s @katalon/testops-jest and press Enter. And we wait a few minutes for running.

Create a new files with the name "testops-config.json".

On the page Katalon TestOps, we click the button Copy on the right of the item Base of Configure.

On the Visual Studio Code, open file "testops-config.json", paste the terms which we have just copied from Katalon TestOps. We save this file.

On the page Katalon TestOps, we click the button Copy on the right of the item Add Report.

On the VS code, create a new file "setup.js" on folder "test" and paste all the terms that we have just copied.

On the page Katalon TestOps, we click the button Copy on the right of the item Import reports.

On the Visual Studio Code, type the command npx jasmine, press Enter, and wait a few minutes for running.

On the Visual Studio Code, type the command npm test, press Enter, and wait a few minutes for running.

On the Test Planning of Katalon TestOps, the Test Run was uploaded.

Feedback