Automated mobile testing using Katalon Studio with integrated test result reporting to qTest.
This is a sample project (Android) how to integrate Katalon Studio with QTest (Test Management).
This project aims to:
- Automate mobile app testing with Katalon Studio
- Integrate with qTest for automatic test result updates
- 📱 Katalon Studio 10.x
- ☁️ qTest API Integration You could use the qTest Swagger API at your qTest account. The link will like this : https://Subdomain.qtestnet.com/p/ID_Project/portal/project#tab=api-docs-manager change the
SubdomainandID_Projectwith your qTest account details - I use Blibli Android app for example
git clone [email protected]:indrabsudirman/Katalon-QTest-Integration.gitYou can sign up for a free trail qTest account at qTest.
Rename the file to qtest.properties and edit the following properties:
- QTEST_BASEURL=https://Your_Subdomain.qtestnet.com
- QTEST_TOKEN=Bearer Your_Bearer_Token (Start with word Bearer)
- QTEST_PROJECT_ID=Your_ID_Project
I use Blibli Android app for testing, if everything OK you could use your own Android/iOS app
I Install the app first in my phone than I can use adb command to find the package name. I used this command:
adb shell pm list packages | grep blibliIn the value test_run_id you need to put the Test Run ID from qTest. To find the Test Run ID you can use the following steps:
-
Right click on the Test Run ID as shown image above, that you want to copy the ID. The last url will like this : https://Your_Subdomain.qtestnet.com/p/44584/portal/project#tab=testexecution&object=3&id=**132323451**
-
The Test Run ID will be 132323451
-
Please note that, the
dataproperty is object that hastest_step_logsarray. It represent the test steps from qTest. The goal is to match the test steps from qTest with the test steps from Katalon Studio. So you can update thestatusin each test step. In my case, I create the test steps in this file using qTest API using Python script.
See on the qTest, the date execution is same as the response




