329 questions with Visual Studio Testing tags

Sort by: Updated
1 answer

unit test in visual studio for d365 fo using x++

I create the unit test in visual studio 2022. create the employ class and employTest class. the test class extends the sysTestcase and i add the test method the write in below: [SysTestMethodAttribute] void testName() { // Verify that the employee name…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,607 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.
939 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.
329 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.
964 questions
asked 2024-04-26T05:12:47.0533333+00:00
Gokulraj Chandrasekaran 0 Reputation points
edited the question 2024-04-26T06:29:37.53+00:00
VarunTha 3,045 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How to change the mouse cursor color in Visual Studio 2022?

Hi to every one, I would like to change the color of the mouse cursor on Visual Studio Community 2022, as I have installed the "dark" theme, which I really like, but the mouse cursor is practically invisible. How can I go about changing it? I…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,607 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.
939 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.
329 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.
964 questions
asked 2023-03-15T16:31:08.15+00:00
Matteo Tomasetti 25 Reputation points
commented 2024-04-25T20:34:56.4766667+00:00
Juan Pablo Ramirez 0 Reputation points
1 answer

Is there a way to bulk import test cases with the summaries included (for example the descriptions) in Azure DevOps?

Hi All, Apologies if this is the incorrect tag for this question. I know understand there is a way to just import the test plans, however is there a way to bulk import test cases with the summaries included (for example the descriptions field on the…

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.
329 questions
asked 2024-04-24T14:39:34.47+00:00
Mohammed Zahid 0 Reputation points
answered 2024-04-25T02:50:36.43+00:00
Anna Xiu-MSFT 25,631 Reputation points Microsoft Vendor
1 answer

Load testing for signalR core

Good Day, I was trying to perform load testing for an auction mobile application , we use signalR core and agora as a server , However Crank and tresi are deprecated long time ago (as per my understanding) and it is quite challenging for me to simulate…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,166 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,255 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.
329 questions
asked 2021-09-20T21:25:19.077+00:00
Meray Wafik 1 Reputation point
commented 2024-04-23T14:08:53.4533333+00:00
Hossein Esmaeili 0 Reputation points
0 answers

vb.net Unit Test Project .NET Framework 4.8 has stopped seeing all subroutines and function in the project being tested.

I have created a vb.net project using .NET Framework 4.8 with a single public subroutine. Also, created a Unit Test project within the same solution and set the references in the Unit Test project pointing to the project being tested. I was able to…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,571 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.
329 questions
asked 2024-04-22T05:25:41.7233333+00:00
John Smith 0 Reputation points
edited a comment 2024-04-23T03:00:30.9933333+00:00
Anna Xiu-MSFT 25,631 Reputation points Microsoft Vendor
1 answer

can not find path for sqlite db in Maui app

i try to create local sqlite db in maui app . private const string DbName = "SweetsShopDb.db3"; private static string DbPath => Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.LocalApplicationData),…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,607 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,869 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,249 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.
939 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.
329 questions
asked 2024-04-17T07:00:39.2033333+00:00
amr yakout 40 Reputation points
answered 2024-04-18T07:50:38.5666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,471 Reputation points Microsoft Vendor
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,607 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.
329 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.
329 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,631 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.
329 questions
asked 2024-04-02T08:22:34.0433333+00:00
杨岑 121 Reputation points
commented 2024-04-03T06:52:24.2533333+00:00
Anna Xiu-MSFT 25,631 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,607 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.
329 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.
964 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,631 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.
939 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.
329 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,271 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,607 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.
939 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.
329 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,271 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.
329 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.
329 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,607 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.
329 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,607 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.
329 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,631 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,829 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,671 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,607 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.
329 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 38,251 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,607 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.
939 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.
329 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.
964 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.
329 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.
329 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