325 questions with Visual Studio Testing tags

Sort by: Updated
1 answer

MSTest Tests in Test Explorer are arranged in reverse alphabetical order by default.

MSTest Tests are arranged in reverse alphabetical order by default. I want to execute the tests in alphabetical order but they are shown in Test Explorer in reverse alphabetical order by default

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,565 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.
325 questions
asked 2023-02-04T18:22:39.1466667+00:00
Mohit Dadhich 0 Reputation points
commented 2024-04-09T08:27:54.3366667+00:00
Nitesh Shekhawat 0 Reputation points
1 answer

How can I remove Test Points from my Test Plan Progress Report

Hello, Test points are redundant as part of the reporting function in Azure Dev Ops when i do my test progress report, is there a way that they can be removed? If so please could a guide be provided ive searched online but cant find anything, below are…

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.
325 questions
asked 2024-04-08T11:03:47.2133333+00:00
John Stephenson 0 Reputation points
answered 2024-04-09T06:05:31.8133333+00:00
Anna Xiu-MSFT 25,376 Reputation points Microsoft Vendor
0 answers

Unit test command line arguments

How can I get the arguments specified in the following dialog: [TestMethod] public void Test1() { // How get the command line arguments? }

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.
325 questions
asked 2024-04-02T08:22:34.0433333+00:00
杨岑 41 Reputation points
commented 2024-04-03T06:52:24.2533333+00:00
Anna Xiu-MSFT 25,376 Reputation points Microsoft Vendor
0 answers

Visual Studio 2022 issue on DevBox - Status 400(Bad Request)

Hi, we are trying to run build on visual studio on DevBox. When opening VS it is asking to re-enter credentials. Entering credentials gives error 53003.  When account was removed and added again, it asks for 2FA and login in successfully. BUT! Running…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,565 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.
325 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.
956 questions
asked 2024-03-20T14:15:46.74+00:00
Alina De-Monti 20 Reputation points
commented 2024-03-26T13:56:34.1066667+00:00
Anna Xiu-MSFT 25,376 Reputation points Microsoft Vendor
0 answers

DevOps Build. How to build a multi-project solution (Windows Service) that has a windows forms test harness

We have an old Windows service I am trying to move to GIT and DevOps (on prem). The service project builds off of 3 other projects in the solution however there is a 5th project which is a windows forms app that we use to develop and debug. I would…

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.
932 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.
325 questions
asked 2024-03-23T23:11:01.74+00:00
McAninch, Robin 51 Reputation points
commented 2024-03-25T09:50:21.5566667+00:00
Tianyu Sun-MSFT 27,031 Reputation points Microsoft Vendor
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,565 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.
932 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.
325 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 27,031 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.
325 questions
asked 2022-04-14T02:07:48.623+00:00
answered 2024-03-15T03:06:03.4466667+00:00
4 answers

Webbrowser not shown in Toolbox

I have activated the Webbrowser in Extras/Toolboxelements but its not shown in the Toolboxlist. What do i wrong?

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.
325 questions
asked 2020-12-07T09:00:51.273+00:00
Roland Löffler 21 Reputation points
answered 2024-03-05T08:16:20.36+00:00
Sepehr Estaki 0 Reputation points
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,565 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.
325 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,565 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.
325 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 25,376 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,817 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,663 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,565 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.
325 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 37,311 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,565 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.
171 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.
932 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.
325 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.
956 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
2 answers

how to fix the start or execute task button in visual studio 2022

my start button does not work. when i click it it gives the pop up window please select a valid startup item and when i right click in the window it wont show execute task in the drop down window. thank in advance for you help

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.
325 questions
asked 2023-12-08T04:25:35.22+00:00
Joshua Thomas 5 Reputation points
edited an answer 2024-02-21T12:41:13.3433333+00:00
Agamon 0 Reputation points
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.
325 questions
asked 2024-02-16T08:07:47.51+00:00
84017655 1 Reputation point
edited the question 2024-02-20T21:21:31+00:00
Richard Hay 1,231 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.
325 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,565 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.
325 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 25,376 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,565 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.
325 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.
956 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,565 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,180 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.
325 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.
325 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 27,031 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,565 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.
325 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