Upload Test to Katalon TestOps via Pytest

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

On the Visual Studio Code, open a file Pytest.

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 Pytest.
  • Click the button Copy on the right of the item Install dependency. And now we copied the command line pip3 install testops-pytest.

On the Visual Studio Code, open file "testops-config.json".

On the page Katalon TestOps, we click the button Copy on the right of the item TestOps Credentials & Project of Configure TestOps plugin.

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 Visual Studio Code, open file "conftest.py".

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

On the Visual Studio Code, paste the terms, which we have just copied from Katalon TestOps in file "conftest.py". We save this file.

On the Visual Studio Code, type the command python -m pytest, press Enter, and wait a few minutes for running.

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

Feedback