336 questions with Visual Studio Testing tags

Sort by: Updated
1 answer

Visual Studio 2022 cannot start debugging

Created a new project using C# Console app and .NET 8 Framework and I cannot run my code as it is greyed out

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
962 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2024-03-07T15:57:01.87+00:00
Vivek Kahar (Student) 0 Reputation points
commented 2024-03-20T05:26:00.8466667+00:00
Tianyu Sun-MSFT 28,941 Reputation points Microsoft Vendor
1 answer

Visual Studio 2022 Code Coverage

Visual Studio 2022 Enterprise has the unit test features. One of them is to record/show the code coverage. I would like to ask about... (1) Is the coverage level C0? (2) Do we have any options to switch the coverage level to C1 and/or C2?

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2022-04-14T02:07:48.623+00:00
answered 2024-03-15T03:06:03.4466667+00:00
3 answers One of the answers was accepted by the question author.

Not showing "Run Intellitest" option in context menu - Visual Studio enterprise 2022

I have installed visual studio enterprise 2022 trail edition and trying to generate unit test, when i right click the method displaying context menu there I don't have option for "Run Intellitest" button, Anyone help me on how to enable…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2022-03-30T11:55:22.847+00:00
Rajendran Kunjupillai 26 Reputation points
answered 2024-02-26T10:26:03.4+00:00
ashwini keshri 0 Reputation points
1 answer

Add Fakes Assembly does nothing and does not create Fakes folder

Hello, I am trying to use Microsoft Fakes and am following instructions on this page: Use shims to isolate your app for unit testing I opened the Solution Explorer and expanded the references section of my unit testing project. I then right clicked on a…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2024-02-23T17:39:44.49+00:00
fauzan-msft 0 Reputation points
edited an answer 2024-02-26T03:58:02.0733333+00:00
Anna Xiu-MSFT 27,636 Reputation points Microsoft Vendor
1 answer

how to fix System.TypeInitializationException : Инициализатор типа "FlaUI.Core.Tools.SystemInfo" выдал исключение. ----> System.InvalidOperationException : Не удается загрузить данные имени счетчика, поскольку в реестре обнаружен недопустимый индекс "

In university we started to work with Windows Forms и WPF. For each work we're given a pre-work with all files and tests. But when I try to start test, they fall with the same Exception: System.TypeInitializationException : Инициализатор типа…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,868 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,706 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2024-02-25T19:29:17.4566667+00:00
_cnehle 0 Reputation points
edited an answer 2024-02-26T03:14:31.4533333+00:00
Hui Liu-MSFT 47,176 Reputation points Microsoft Vendor
1 answer

How to fix that running and build error in the visual studio community 2022

**Severity Code Description Project File Line Suppression State Error Project "C:\Program Files\dotnet\packs\Microsoft.Maui.Sdk\8.0.3\Sdk\AutoImport.props" was not imported by "C:\Program…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
189 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
962 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
999 questions
asked 2024-02-22T10:26:52.3333333+00:00
ANOJAN .T 0 Reputation points
answered 2024-02-22T10:26:52.3366667+00:00
Q&A Assist
1 answer

Which task can I add in CI pipeline on Azure DevOps to install Appium driver and Appium Plugin?

I am using Azure DevOps for a task related to Automation Testing. I need help with resolving these two errors that I am facing: 1- [warning]Failed to read /home/vsts/work/1/s/src/test/resources/features/matas/app/homescreen/InStoreModeScreen.feature.…

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2024-02-16T08:07:47.51+00:00
84017655 21 Reputation points
edited the question 2024-02-20T21:21:31+00:00
Richard Hay 1,326 Reputation points Microsoft Employee
1 answer

How can i connect Visual Studio 2022 to DevOps TestPlans

Where can I find the right steps (documentation) to connect Visual Studio 2022 with DevOps Azur Testplans. My goal is to run Selenium tests in Visual Studio and see the result in Testplans. Or vice versa, activate a run in Test plans.

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2024-01-23T13:23:56.99+00:00
Heidi Kramer | Vcare 0 Reputation points
commented 2024-02-20T14:14:13.0766667+00:00
Heidi Kramer | Vcare 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to fix coded UI test run issue in Visual studio 2022 test agent

Hi Team, I updated the coded UI test from VS 2019 to VS2022 17.8. When i tried to run the the coded ui ordered test using visual studio 2022 test agent in an environment where both 2019 and 2022 test agents are available, I get the following error. …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2024-02-15T10:57:15.31+00:00
Piyusha Mohapatra 20 Reputation points
commented 2024-02-20T10:13:13.1166667+00:00
Anna Xiu-MSFT 27,636 Reputation points Microsoft Vendor
2 answers

Visual Studio 2019 Not responding after Open it without any solution ?

Hello Dear I Got big problem with my VISUAL Studio 2019 Community >>> First i downloaded it and try top setup its okay but after finished it i can't try it maybe take like 2-5 minutes till open and evry press inside it take maybe 5 minutes too…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
999 questions
asked 2023-01-20T11:29:08.8833333+00:00
Mohamed Montaser 5 Reputation points
commented 2024-01-30T22:31:34.86+00:00
arteny 0 Reputation points
1 answer

Which unit test framework to use for testing external APIs which are not part of the Visual Studio solution?

Hi, I am using Visual Studio 2019 & C#. I would like to know which unit test framework to use for testing external APIs which are not part of the Visual Studio solution Thanks in advance.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,573 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2021-10-25T15:41:00.187+00:00
Vivek Gupta 1 Reputation point
answered 2024-01-29T13:43:45.0233333+00:00
Maximiliano Arrieta 0 Reputation points
1 answer

vstest.console.exe - no .trx files are generated

Hello, I have issue with running tests - I cannot find tests result. Tests are built in VS2022, .NET Framework 4.8.1. Test adapter MSTest.TestAdapter 3.1.1, MS.TestFramework 3.1.1. To run tests I use vstest.console.exe v. 17.4.1. I am running the tests…

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2024-01-25T10:10:35.5366667+00:00
aik 20 Reputation points
edited a comment 2024-01-29T08:28:26.58+00:00
Tianyu Sun-MSFT 28,941 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to do unit testing on node.js web application in visual studio?

I created a project in Visual Studio 2022. I created a node.js web application using the "Blank node.js web application" template. I want to create a unit test. What is the recommended way to do that? I hit problems following an article that…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2024-01-28T19:45:56.46+00:00
Wayne Roseberry 20 Reputation points
accepted 2024-01-29T05:15:10.7966667+00:00
Wayne Roseberry 20 Reputation points
2 answers One of the answers was accepted by the question author.

How to see code coverage percentage in VS22 Enterprise?

Hey, we're moving from VS2019 Enterprise to VS22 Enterprise. In 2019 the code coverage looks like described here:…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2022-12-09T09:56:17.903+00:00
Micha Vosse 26 Reputation points
commented 2024-01-25T15:30:39.4266667+00:00
Felipe Costa Furlan 0 Reputation points
1 answer

SettingsPackage did not load correctly.

Setting package did not load correctly,

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
189 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
999 questions
asked 2024-01-10T17:36:36.7066667+00:00
Snahil Singh Dasawat 0 Reputation points
answered 2024-01-11T09:54:13.82+00:00
Tianyu Sun-MSFT 28,941 Reputation points Microsoft Vendor
1 answer

No Access to the PartsUnlimited website

Who can I discuss the pre-requisite below with? The site in the pre-requisites instructions does not exist. https://microsoft.github.io/PartsUnlimited/testing/200.5x-Testing-SeleniumCodedUITestinVS.html Pre-requisites: • Visual Studio 2017 …

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2022-03-21T20:18:46.477+00:00
Crisci, Steve 1 Reputation point
commented 2024-01-06T16:36:24.5033333+00:00
Jan-Jaap Spies 0 Reputation points
1 answer One of the answers was accepted by the question author.

How do I use Microsoft.CodeCoverage.Console.exe in a machine without installing Visual Studio?

I need to execute a file A in a visual machine B and I would like to understand the code coverage, so I would like to use the Microsoft.CodeCoverage.Console.exe tool while executing the file A. I have VS installed on my local desktop C, and when I tried…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2023-12-29T08:24:06.59+00:00
Kelly Zhao 65 Reputation points Microsoft Employee
commented 2024-01-04T07:02:05.2166667+00:00
Anna Xiu-MSFT 27,636 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to show "Design a new Report" in Report Viewer tool in Microsoft Visual Studio 2022. Need help ASAP.

I already search some tutorials in youtube but i cant find anything. In my machine, i cant see the "Design a new Report" in Report viewer tool like i saw in my tutorial video that i follow in youtube. i will paste pictures so you can see it.…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
189 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
999 questions
asked 2023-12-01T11:45:48.9033333+00:00
Mervic Jhon Recosana 20 Reputation points
commented 2024-01-01T05:02:13.5966667+00:00
Anna Xiu-MSFT 27,636 Reputation points Microsoft Vendor
1 answer

MSDN enterprise and MSDN pro

we ordered 1 MSDN enterprise and 2 MSDN pro. As I can see, with the MSDN enterprise we can assign 10 windows machine licenses, and 10 Windows Server licenses. So, first question. Does this allows me to install 10 windows machines and 10 server…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
999 questions
asked 2023-12-18T12:23:34.7933333+00:00
Karina Gerasimovich 10 Reputation points
answered 2023-12-18T13:37:06.59+00:00
Anna Xiu-MSFT 27,636 Reputation points Microsoft Vendor
2 answers

How to fix "Cannot open Read/Write handles" error?

I receive "Cannot open Read/Write handles" error message when I try opening Visual studio projects in VS 2017 version. I already logged out and logged in back with my credentials and it didn't help. I still get this error message and not able…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
189 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
962 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
999 questions
asked 2023-11-20T16:22:10.74+00:00
Ridvan Ozbay 0 Reputation points
answered 2023-12-11T15:33:11.2833333+00:00
Chandler Bing 0 Reputation points