This is a migrated thread and some comments may be shown as answers.

No Project Found when Opening from Source Control

5 Answers 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brad Hunt
Top achievements
Rank 1
Brad Hunt asked on 29 Apr 2019, 07:35 PM

I have a solution in Visual Studio 2017 which contains two projects. One project holds the files for a Sitefinity site, the other is a Test Studio Project which holds a single test. See attachment for visual.

I created this test using the Visual Studio Plugin, and then saved the files to Bitbucket Source Control.

I then opened up the desktop version of Test Studio and tried to follow the steps to open a project from Source Control, but I am getting an error that says "No Project found"

In the desktop Test Studio, when I go to open from Git, the sample URL is "http://github.com/path/repo.git" so I entered https://bitbucket.org/smoothfusion/000-168-sitefinitydemo.git as my URL. Then I select a local folder that is separate from where I have the Visual Studio Project stored. Then I click connect and wait a while. I get a message saying "Connection to remote repository successful!"

Then I click Ok, then I get an error saying "No Project found"

Am I doing something incorrectly?

 

5 Answers, 1 is accepted

Sort by
0
Plamen Mitrev
Telerik team
answered on 01 May 2019, 11:09 AM
Hello Brad Hunt,

Thank you for sharing details about the encountered misbehavior.

The "No project found!" error message is probably caused by missing Settings.aiis file from the Test Studio project folder. This file contains the project settings and configurations as well as the project tree structure of all tests. You need to check if it exists in the Git repository and if it is successfully downloaded to the local folder.

In case the Settings.aiis is missing from the repository, please commit it and try to open a Git project again. If you continue to experience some issues, please clear the application log and attach it after reproducing the misbehavior. I will be able to further investigate what might be causing it.

I hope that the above suggestion will help you open the project from source control.

Regards,
Plamen Mitrev
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Brad Hunt
Top achievements
Rank 1
answered on 01 May 2019, 11:46 AM

Thanks for the help. When I look in my local repo, yes the settings.aiis is present. It is also present in the remote bitbuket repo.

I enabled logging and have attached the log here. Note that to enable logging, it appears I have to have a project open first. So I opened another local test project, enabled logging, then closed the test, then deleted my local repo, then tried again to open from source which again failed. Then I had to open the local test project again to get the log. So if you see things in the log referring to a local test project that is why.

 

0
Plamen Mitrev
Telerik team
answered on 02 May 2019, 06:50 AM
Hello Brad Hunt,

Thank you for sharing the application log and additional details of your actions. It helped me in troubleshooting this issue.

As you mentioned, the Settings.aiis file is present in both the local repository and the remote one. In this case I assume that you have both projects in the same Bitbucket repository. This means that, when you open the project in Test Studio it looks for the Settings.aiis file in the root folder, but it is actually in a subfolder.

You need to isolate the Test Studio project in the root folder of a separate repository and you should be able to open it with no issues (see bitbucketRepository.png). You will be able to commit, push, pull and revert changes to the test project.

Please let me know if the above suggestion works for you. In case you continue to encounter this issue, please share more details about the file structure of the repository. This way I will be able to get a better overview of the setup.

I am sorry if the documentation is not clear on this matter. I will review it and try to improve the instructions for Git projects. I will appreciate you feedback.

Regards,
Plamen Mitrev
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Brad Hunt
Top achievements
Rank 1
answered on 02 May 2019, 10:46 AM
Thanks. Our original goal was to have the test list execute as the main project code builds. It sounds like that might be a problem if the tests and main project code are in different repos. Have any suggestions on how to achieve this?
0
Plamen Mitrev
Telerik team
answered on 02 May 2019, 11:40 AM
Hello Brad Hunt,

In order to achieve your goal, you need to have a post build script that calls the ArtOfTest.Runner.exe with the necessary parameters to execute the test list. In this case you need to make sure that you provide the correct path to the test list file from your local copy of the Test Studio project. The tests are executed on the machine with Test Studio, using the local copy of the Git repository, therefore, there should be no issues if you have the 2 projects in separate repositories.

I hope that the above information will help you execute the tests after the project builds. You can read more about continuous integration in Test Studio in this article.

Please let me know if I have misunderstood your scenario and share more details.

Regards,
Plamen Mitrev
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Brad Hunt
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
Brad Hunt
Top achievements
Rank 1
Share this question
or