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
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
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.
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
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