Upload Test Scripts from a Git Repository

You can create a Git Script Repository in Katalon TestOps. Katalon TestOps can then upload Test Scripts automatically from a Git Repository. This allows you to store your Test Scripts in your Git accounts and execute them in Katalon TestOps.

Katalon TestOps allows GitHub and Bitbucket integration for Git Repositories. This guide will teach you to enable integration with either option.

Requirements:

An existing GitHub and/or Bitbucket account.

Create Git Script Repositories

Follow these steps:

  1. Sign in to Katalon TestOps and go to the Project you want to create a Git Repository for.

    Go to Configurations > Script Repositories.

    The Script Repositories page appears as below.

  2. Click Create Git Script Repository.

  3. Fill in the required information.

    • For GitHub integration:

      • Source Type: choose Github.

      • Repository URL: enter your GitHub Repository. For example, https://github.com/katalon-studio-samples/ci-samples.

      • Username: enter your GitHub Username.

      • Personal Access Token: enter your Personal Access Token.

        Notes:

        You can create an individual access token in GitHub. See: Create a Personal Access Token.

        Follow the instruction and make sure you choose repo in the Select scopes section in the New personal access token page.

    • For Bitbucket integration:

      • Source Type: choose Bitbucket.

      • Repository URL: enter your Bitbucket Repository.

      • Username: enter your Bitbucket Username.

      • Personal Access Token: enter your Personal Access Token.

        Notes:

        See Bitbucket's personal access tokens for guidelines.

  4. Click Connect.

    Additional sections appear as below.

    • Branch: choose a branch.
    • Name: enter your Project’s name.
  5. Click Create.

You have enabled GitHub/Bitbucket integration and created a new Git Script Repository.

Next step:

Feedback