How do I get started running and debugging the TestProject? Getting a message saying there is no folder opened, but it is all right there. I am on a Mac.

Robert Tutterow 0 Reputation points
2024-04-11T01:44:01.0333333+00:00

Getting an error message that no project is open in VS Code, but it seems to be there to me. Went step by step to get it opened thru the terminal, but I can't get the code to run and debug. I have done some html/ css in VS Code, but this is my first time using the terminal in VS. This can be frustrating so any help would be greatly appreciated!

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,579 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pradeep M 3,270 Reputation points Microsoft Vendor
    2024-04-11T03:57:59.1133333+00:00

    Hi Robert Tutterow, 

    Thank you for reaching out to Microsoft Q & A forum. 

    To effectively address and resolve issues regarding running and debugging TestProjects, consider following these steps: 

    1.Begin by opening Visual Studio Code and navigating to the Extensions view. You can do this by clicking on the square icon located in the sidebar or by pressing Ctrl+Shift+X. Once there, search for "TestProject" in the Extensions Marketplace and proceed to install the TestProject extension developed by TestProject Inc. 

    2.Following the installation of the extension, you will notice the TestProject icon on the sidebar of Visual Studio Code. Click on this icon to access the TestProject view. If you are not already logged in, you will be prompted to provide your TestProject credentials to authenticate. 

    3.Ensure that the folder containing your TestProject tests is open in Visual Studio Code. If it is not already opened, you can do so by navigating to File > Open... and selecting the appropriate folder. 

    4.Next, configure your TestProject project within the TestProject view. Click on the gear icon to access the settings, then select "Configure TestProject Project" and follow the provided prompts to select your project from your TestProject account. 

    5.Once your project is configured, you will be presented with a list of tests from your TestProject project in the TestProject view. Select the specific test that you wish to run or debug. 

    6.To execute the selected test, simply click on the play icon. Alternatively, if you wish to debug the test, click on the bug icon. This will initiate the execution of the test using the TestProject Agent. 

    7.If you encounter the "No Folder Opened" message, double-check that you have the correct folder opened in Visual Studio Code. You may need to close and reopen Visual Studio Code or attempt opening a different folder to resolve the issue. 

    8.Lastly, ensure that the TestProject Agent is running on your Mac by checking for its presence in the menu bar. If it is not visible, launch the TestProject Agent from your applications to ensure proper functionality. 

    By carefully adhering to these steps, it is expected that the encountered issues can be effectively addressed and resolved. 

    If you encounter any future issues, please feel free to contact us, and we will be pleased to assist you further. 

    If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community. 

    Thank you. 

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.