336 questions with Visual Studio Testing tags

Sort by: Updated
1 answer

Associating test cases in Visual Studio, how to fix VS30063: You are not authorized to access https://dev.azure.com

I have been trying to associate test cases to an automated test plan in Azure devops. I follow the same steps outlined here: https://video2.skills-academy.com/en-us/azure/devops/test/associate-automated-test-with-test-case?view=azure-devops I have been 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,828 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-04-18T23:24:51.43+00:00
Eric Christensen 0 Reputation points
answered 2023-04-18T23:28:27.82+00:00
Eric Christensen 0 Reputation points
1 answer One of the answers was accepted by the question author.

visual studio,why some Method never show in hint list?

It took a long time to find out why the CheckAccess Can't use in my project, The reason is below. just want to know why? It's so unreasonable

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,575 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,828 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,582 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-03-25T03:14:23.25+00:00
兰树豪 381 Reputation points
commented 2023-04-17T03:26:12.0333333+00:00
兰树豪 381 Reputation points
1 answer

Cant see typescript spec files in test explorer

I have solution with c# projects. On of these c# projects containt angular application. There are many tests files with tests. (sometest.spec.ts) - jasmine/karma is used. Problem is that in test explorer i can see only c# tests. I think 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,828 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-04-13T15:13:23.0533333+00:00
Juraj Jakubov 21 Reputation points
edited an answer 2023-04-14T03:28:00.2433333+00:00
Tianyu Sun-MSFT 28,951 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Gitlab Extension in Visual Studio

Is there any extension's for GitLab in Visual Studio 2022 community edition.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,828 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.
963 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.
1,000 questions
asked 2023-04-07T11:23:48.7966667+00:00
Ganesh Aravind Dhanmjaya Shetty 20 Reputation points
accepted 2023-04-11T13:14:48.5133333+00:00
Ganesh Aravind Dhanmjaya Shetty 20 Reputation points
1 answer One of the answers was accepted by the question author.

Can't find Targetserverversion as Sql server 2016 in VS 2022

Hi, I have SQL 2016 and VS2022, recently upgraded visual studio to VS2022 and trying to edit the package compatible with version 2016. But, I can't find the targetserverversion as SQL 2016, only I can see SQL 2017, 2019, 2022. Please suggest the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,828 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,503 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-04-07T11:24:07.33+00:00
Sarojkumar 20 Reputation points
accepted 2023-04-10T03:06:12.1866667+00:00
Sarojkumar 20 Reputation points
0 answers

Error on Visual Studio

System.Collections.Generic.KeyNotFoundException: Unable to find UniqueTest VSTestAdapter I needed assistance on this error. When I run Test Automation. The Test does not show me message about the test I am running.

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.
963 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-04-04T08:38:35.49+00:00
Khoza, Eli (LNG-CPT) 0 Reputation points
commented 2023-04-05T03:41:37.0566667+00:00
Anna Xiu-MSFT 27,641 Reputation points Microsoft Vendor
1 answer

Could not run Code Coverage with VS2019 Enterprise

I'm not able to run unit test with code coverage using Visual Studio 2019 Enterprise. I have Version 16.11.21 running on my system. Observed the following error message: Failed to set up the execution context to run the test

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-03-21T19:33:06.3466667+00:00
Levina Lioe 0 Reputation points
edited a comment 2023-04-04T13:47:01.0233333+00:00
Tianyu Sun-MSFT 28,951 Reputation points Microsoft Vendor
1 answer

Azure Devops-Visual studio Test Task , Fails to recognize Automated Test cases from Test Suite

I Have some automated Test cases (with automated Tag) to be run from Pipeline by using a Visual studio test task. Test cases are maintained in a sperate test plan and if it is imported to the current testing plan , Automated testing will work If the same…

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-03-29T14:11:37.9433333+00:00
Anonymous
answered 2023-03-30T02:40:36.5466667+00:00
Tianyu Sun-MSFT 28,951 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to automate testing for WPF application and wcf services?

Hello! I want to test an WPF application in Visual Studio -Test Explorer, but nothing happens. Can you suggest an open source/ free application for automated tests which supports WPF and/ or WCF services? Best regards,

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,582 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-03-22T11:48:15.5866667+00:00
B M-A 361 Reputation points
accepted 2023-03-25T20:02:14.25+00:00
B M-A 361 Reputation points
1 answer One of the answers was accepted by the question author.

I keep getting a "Could not find the module Az.Accounts with given version." error with a very simple DevOps release pipelines

I'm testing a very simple release pipeline that simply copies part of a project's repo in Azure DevOps to an Azure Windows VM. I've gone through the Deployment Group setup several times, registering and installing the agent, along with installing 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.
336 questions
asked 2023-03-16T20:47:42.9366667+00:00
Steve Mandras 21 Reputation points
commented 2023-03-20T17:38:09.9+00:00
Steve Mandras 21 Reputation points
3 answers

Could not load file or assembly 'Azure.Core, Version=1.0.2.0, Culture=neutral, PublicKeyToken=92742159e12e44c8' or one of its dependencies. The system cannot find the file specified

Describe the bug We are implementing some changes in our Web load test and performance testing project (in Visual Studio) to enable webtests to fetch passwords from an encrypted SQL DB by using master key stored in Azure key vault. For this we have…

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-03-14T00:01:05.7033333+00:00
Navjot 46 Reputation points
commented 2023-03-20T13:46:49.1+00:00
Anna Xiu-MSFT 27,641 Reputation points Microsoft Vendor
1 answer

Unit test cases failing for async method

Hi Team, I have one method like below. private async string ProcessMonitor_OnProcessStopped(object sender, ProcessDetails processDetails) { await Task.Delay(500); return "Value"; } and i am writing the unit test case for the above method. Since…

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,582 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-03-17T07:02:50.9733333+00:00
Sunil A M 171 Reputation points
edited the question 2023-03-20T07:05:44.37+00:00
Jack J Jun 24,491 Reputation points Microsoft Vendor
1 answer

Breakpoint does not work during the test either with NUnit and MSTest. Visual Studio 2022, Net 6

Hi, I've created test project in my solution and when I want to debug my code set breakpoint it doesn't work when I click debug and it whole flow looks the same when I click run. I don't have idea what should I do. I tried everything what I found in…

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-10-10T20:14:38.603+00:00
Andrzej 26 Reputation points
edited a comment 2023-03-14T15:13:58.7066667+00:00
Damian 0 Reputation points
1 answer

HOW TO FIX THE EDIT AND CONTINUE OPTION IN C#? WHEN I PRESS START ITS NOT SHOWING OUTPUT

StreamJsonRpc.RemoteInvocationException: New debugging session can't be started until the existing one has ended. at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__139`1.MoveNext() --- End of stack trace from previous location where exception was…

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,582 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.
1,000 questions
asked 2023-03-11T07:15:02.8133333+00:00
Naseer.syed 5 Reputation points
answered 2023-03-13T03:42:48.0766667+00:00
Anna Xiu-MSFT 27,641 Reputation points Microsoft Vendor
1 answer

Modular programming, running an external application .exe from a menu item of my own app

Hi everybody, first at all, many thanks for reading my post. I’ve developed an application to graph mathematical functions and expressions. This application has been developed using Visual C++ ’22 in a Windows 10 environment. This has been implemented…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,828 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,617 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.
1,000 questions
asked 2023-03-04T22:56:28.6733333+00:00
brickoff 0 Reputation points
answered 2023-03-06T05:27:31.7133333+00:00
YujianYao-MSFT 4,281 Reputation points Microsoft Vendor
0 answers

Ejecutar WebAPI desde VisualStudio

Saludos a todos. Recientemente cree un proyecto ASP.NET Core Web API, la aplicación se creo sin problemas junto con el ejemplo Weatherforecast. Al ejecutarlo desde VisualStudio (F5) funciona perfecto, el navegador se levanta y se muestra la interfaz de…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,347 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.
963 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-02-22T20:53:59.9166667+00:00
Esteban Andrade Cambronero 0 Reputation points
commented 2023-02-28T16:34:51.4933333+00:00
Esteban Andrade Cambronero 0 Reputation points
2 answers

TextPatternRange.GetText() UIAutomation throws AccessViolationException on Windows 11

TextPatternRange.GetText() method throws AccessViolationException on Windows 11 TextPatternRange is giving problem in Win 11 and working absolutely fine in Win10. Even we have updated our Win 11 to Edition Windows 11 Enterprise Version 22H2 Installed…

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
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,814 questions
asked 2023-02-01T08:47:43.0066667+00:00
Varun Kumar 0 Reputation points Microsoft Employee
edited the question 2023-02-28T11:15:20.85+00:00
Varun Kumar 0 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How do I Open Test Explorer with a Keyboard Shortcut?

Is there a way to open the Test Explorer window with a keyboard shortcut? I can't find this option.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,828 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-02-21T07:24:02.1166667+00:00
Jason Hunter 21 Reputation points
accepted 2023-02-22T13:45:19.2133333+00:00
Jason Hunter 21 Reputation points
1 answer

How to exclude certain lines by regex in runsettings file

I have many asserts scattered around the codebase to check for invalid situations. I want to exclude them in code coverage reports but I have not figured out how to do so. In gcovr I can do something like --exclude-lines-by-pattern '.*assert.*'. It would…

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-02-10T03:59:55.8033333+00:00
Haowen Liu 0 Reputation points
commented 2023-02-14T09:59:50.6533333+00:00
Tianyu Sun-MSFT 28,951 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Why I can't Fake-Mock "System" in .net core 6.0(VS Enterprise 2022)

Why I can't Fake-Mock "System" in .net core 6.0(VS Enterprise 2022), I don't know what happened?   I was trying to use "using System.Fakes; " , But it alert "missing an assemly reference" after following …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,347 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,828 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-01-31T10:06:39.3233333+00:00
Angelina Jolie 20 Reputation points
commented 2023-02-14T02:52:02.38+00:00
Angelina Jolie 20 Reputation points