Git Test Project


This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-analytics/docs/git-test-project.html

I have attempted this with an Azure Devops repo and a GitHub one to no avail. When I start creating a plan it doesn’t find the test cases that are in the repository. But if I take the same repo and enter it as a zip file upload then it works. Is there a way to make this actually work with git?

@devnext,

I’m sorry, but could you please tell me a little more about your issue? It is not clear to me what the part “doesn’t find the test cases that are in the repository” meant.

What I mean by that statement is that on the Configure a Plan page in the 2nd section where you select type the option to select Test Suite Collection is disabled (See image). If I were to take the repository and download as compressed zip archive and try to create a plan then it works as expected. It “finds” the test cases in the folder and the Test Suite Collection option under type is not disabled.

Hi,

Sorry for the inconvenience. It is not possible yet for Katalon TestOps to scan Test Suite Collections from a Git repository. However, you can select the type Katalon Command with the command -testSuiteCollectionPath="<Test Suite Collection name>" as in the following screenshot:

We will resolve this limitation soon. Thank you!

3 Likes

I tried to execute plan with git project but getting a git error while cloning the repo from bitbucket. I even tried different versions of Agent but it is failing on the error. Please someone have a look at this.

1 Like

Hi @sushant.shinde,

Please ensure that the Git client is installed on your machine and accessible to the Agent.

1 Like

Thanks sonpham!, I installed git client and it worked.

2 Likes

Hello everyone, could you please help me to check an urgent Issue? I am trying to create a Git Project in Testops Planning, but always fails. The error information is shown in the screenshot below. Thank you very much!

Hi @Cedar67,

Does this issue happen when you edit an old test project or create a new one ?. Please try again with personal access token not your password.

2 Likes

@Thong Thank you very much for your rapid reply! It’s very useful for me. Now I’ve solved it. Before, I entered the password instead of the Personal Access Token. Hopefully, the error message will be a little more friendly.

2 Likes

Hi,

I have my Katalon Project on the Azure Repos and I have created the Script Repository using the Others option for the Source Type under the Create Git Script Repository.

Once created, I get an error when I click the Refresh Test Suite Collection button on the TestOps Script Repositories

Can you please help me work around / resolve this issue?

Thanks,
Praful

@Thong, Can you please help resolve this?