Introduction
"For every minute spent in organizing, an hour is earned."
Welcome Ninja! We hope you are doing well.
Organizing stuff is an essential aspect of one's daily routine. Unorganized large systems can not work efficiently. A systematic scheme of work is the foundation of early success.

It is no surprise that testing in Katalon may involve a large number of test scripts. Therefore, proper organization of test scripts becomes crucial. This step is necessary because a project may have multiple components. And each element may have different types of test scripts. So to find the required tests quickly and maintain a history of changes and updates done, test scripts are organized.
In this blog, we will discuss how we can organize the test scripts and learn to view them as per our requirements.
Upload Test Scripts From Git Repository To Katalon TestOps
For collaborative work and proper version control, test scripts are stored in GitHub. We organize our tests in Katalon TestOps and then push them to GitHub. When we need our test scripts for execution, we upload them from GitHub again.
So let us first learn about uploading test scripts from Git to TestOps.
You must have some tests first to upload :). GitHub supports integration with several platforms such as BitBucket, Azure Repos, GitLab, etc. You can have a project in any of these repositories.
Now follow the below steps to upload the test scripts successfully.
-
First of all, make sure that you are signed in. Then open the project you are working on.
-
Go to Script Repositories section inside the Configurations section. Click on Create Git Script Repository to create a new repository. You will be adding tests in this repository.
-
You need to tell Katalon from which source you are bringing your project. A source-type drop-down list will appear where you can choose your version control tool. For example, GitHub, GitLab, BitBucket, etc.
-
Now comes the time to link your Git repository to this repo. To do that, enter the URL of your GitHub repository in the Repository URL field.
-
You will need to fill in two essential fields now. Your source repository username and your Personal Access Token. Make sure you fill these fields carefully. Personal access tokens are an alternative to passwords. A PAT provides an easy way to login credentials. You can get your PAT from your source repository account.
-
Now it might be possible that you already have some test execution results present at the exact location with the same name as the ones being uploaded. You may not want to replace these results. So, to merge the results, tick the checkbox that declares, "Link existing test execution results with test cases having the same paths and names ."
-
Last but not least, click Connect. This step will be followed by TesOps asking you to enter your project name and choose your branch. You may then describe your project if you want to.
-
Click Create.
It's done!! Congratulations, you have the test scripts successfully created in your TestOps repository.
Grouping similar items based on their properties is the foundation of efficient organization. We advise you to group similar test scripts as one test suite.
For example, you may group the test scripts related to user authentication or form acceptance testing.
So we will now look at test suites' creation, updating, and deletion.




