345 questions with Visual Studio Testing tags

Sort by: Updated
1 answer

Config file based pipeline trigger

ADO pipeline stages has to trigger based on config file  Config file :-  Ex:-  triggerBlackDuck = true triggerBSP = false triggerSonarQube = true triggerCoverity = true triggerBuildSDK = false I have 5 stages in my pipeline, Based on…

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.
345 questions
asked 2024-09-05T06:02:29.46+00:00
Pigelati, Mohan (Contractor) 0 Reputation points
answered 2024-09-05T07:41:26.09+00:00
Tianyu Sun-MSFT 30,236 Reputation points Microsoft Vendor
1 answer

MSTest custom attributes

Hello, I'm trying to implement custom attributes to methods decorated with MSTest attributes. Example: I need to catch unhandled exceptions in [AssemblyInitialize], [AssemblyCleanup],[TestInitialize], [TestCleanup]... methods. I've tried Fody, but it not…

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.
345 questions
asked 2024-08-28T13:08:36.2933333+00:00
aik 20 Reputation points
commented 2024-09-03T08:07:23.94+00:00
Tianyu Sun-MSFT 30,236 Reputation points Microsoft Vendor
0 answers

An unexpected network error has occurred. The app list cannot be refreshed. Please retry by pressing the Refresh button. Visual Studio 2022

An unexpected network error has occurred. The app list cannot be refreshed. Please retry by pressing the Refresh button. Visual Studio 2022

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.
345 questions
asked 2024-08-24T12:17:44.47+00:00
shambhu 35 Reputation points
commented 2024-09-03T07:02:07.9933333+00:00
Anna Xiu-MSFT 28,491 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to associate "Test Iterations" in Visual studio to test iterations in Azure test plans

I'm running a test automation repository with test written in SpecFlow running nUnit on Visual Studio. Some of the test scenarios running a table of test parameters generating many test cases per test scenario. In Visual Studio the test cases are listed…

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.
345 questions
asked 2024-08-14T09:33:04.0066667+00:00
Zaher Nordin 20 Reputation points
accepted 2024-08-29T06:51:34.3166667+00:00
Zaher Nordin 20 Reputation points
1 answer

is there any solution to resolve "The return type should be of type System.Void" when we async calls in Testinitialize even using laetst MSTest frame work?

Hi, The below code is working when we run the code using Visual studio IDE with MSTest framework but we are getting the issue when we run with testagent using TCM.exe. The same error I got in the Visual studio IDE also withou MSTest framework but it is…

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.
345 questions
asked 2024-08-21T08:39:26.74+00:00
Jagadeesh 0 Reputation points
answered 2024-08-22T06:15:14.8833333+00:00
Anna Xiu-MSFT 28,491 Reputation points Microsoft Vendor
2 answers

vstest-action github action is failing due to broken aka.ms link

Looking to get some eyes on this github issue, which is preventing Visual Studio Test "vstest" from being used in pipelines: https://github.com/microsoft/vstest-action/issues/31 This issue is affecting many users, and the repo seems to be…

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.
345 questions
asked 2024-08-14T13:06:58.8466667+00:00
Tim Johnson 20 Reputation points
answered 2024-08-15T12:43:16.5866667+00:00
Tim Johnson 20 Reputation points
2 answers

TestContext is null when invoking method using Reflection

I am invoking a Data Driven Test Method from another service using Reflection. This Data Driven test read the data from file using TestContext and it is null. The purpose of this service is to run all the End to End tests available in the UnitTest1…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,776 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,816 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.
345 questions
asked 2023-03-29T08:14:23.1533333+00:00
Aarti Jangid 0 Reputation points
answered 2024-08-08T05:47:57.3533333+00:00
AntoinoLLC804 0 Reputation points
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.
345 questions
asked 2020-12-07T09:00:51.273+00:00
Roland Löffler 21 Reputation points
commented 2024-08-07T00:54:43.5+00:00
Geometricgame 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to set up encryption keys for a software implementation

To properly set up encryption keys for a software implementation, you must first determine whether you need to use symmetric or asymmetric algorithms. Symmetric algorithms require the creation of a key and an initialization vector (IV), while asymmetric…

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
274 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.
345 questions
Azure Load Testing
Azure Load Testing
An Azure service that enables developers and testers to generate insights on how to improve the performance, scalability, and capacity usage of their application
56 questions
Microsoft Power Platform Training
Microsoft Power Platform Training
Microsoft Power Platform: An integrated set of Microsoft business intelligence services.Training: Instruction to develop new skills.
297 questions
asked 2024-07-29T13:54:05.25+00:00
John Gaspar 20 Reputation points
edited the question 2024-07-30T12:52:00.92+00:00
ChetanSharmamsft 1,031 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Transitioning to Azure DevOps for UI and Load Performance Testing: Compatibility and Best Practices

Hello, We are currently planning a transition from an on-premise Team Foundation Server (TFS) setup to Azure DevOps, with a focus on UI Testing and Load Performance Testing. Our environment includes: Load Performance Testing: 1 Load Test Machine, 1…

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
274 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.
345 questions
Azure Load Testing
Azure Load Testing
An Azure service that enables developers and testers to generate insights on how to improve the performance, scalability, and capacity usage of their application
56 questions
asked 2024-07-26T12:05:20.5233333+00:00
sangam ravisekhar 41 Reputation points
accepted 2024-07-29T04:25:27.0466667+00:00
sangam ravisekhar 41 Reputation points
1 answer

How to fix the Test Case Ordering Issue in Test Plan?

We are dragging and repositioning the test cases for a test suite in a specific order in the Define Tab. We are also making sure that the test cases are sorted by the Order. But as soon as we execute a test case, and come back to the same scenario after…

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.
345 questions
asked 2024-07-19T09:26:25.4133333+00:00
Dubey, Pramod 0 Reputation points
answered 2024-07-19T12:26:32.6433333+00:00
Anna Xiu-MSFT 28,491 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.
5,026 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.
209 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.
986 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.
345 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,031 questions
asked 2024-02-22T10:26:52.3333333+00:00
ANOJAN .T 0 Reputation points
commented 2024-07-16T09:48:02.6366667+00:00
Thach Thai Ngoc 0 Reputation points
1 answer

How to fix "module was not instrumented." Reason:"path_is_excluded" error in Microsoft.CodeCoverage.Console tool?

I'm receiving the following problem while trying to instrument my dll with Microsoft.CodeCoverage.Console tool. module was not instrumented. Reason: path_is_excluded." I'm using Microsoft.CodeCoverage.A console tool for calculating code coverage.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,776 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,026 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,681 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.
345 questions
asked 2024-06-13T06:50:10.2966667+00:00
R M 0 Reputation points
commented 2024-07-11T05:08:11.25+00:00
R M 0 Reputation points
1 answer

Downloading DevOps Test Plan attahcments from individual Test Run Result Steps.

I am using the REST API of Azure DevOps Test Plans. I have test a test case defined, where there are steps to be performed, and have executed test runs on it, where there are screenshots associated with each step. I want to download those screenshots…

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.
345 questions
asked 2024-06-28T13:11:59.5666667+00:00
Mark Greiner 0 Reputation points
answered 2024-07-01T02:52:53.5933333+00:00
Tianyu Sun-MSFT 30,236 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to obtain the latest installer for vstf_test_agent.exe?

I received a download link for vstf_testagent.exe from a Microsoft Learn page. https://download.microsoft.com/download/8/7/a/87a28af1-1623-4e08-b62d-0429f05382b7/vstf_testagent.exe This is the offline-installer I need to set up the relevant test…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,026 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.
345 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,031 questions
asked 2024-06-26T05:26:06.5666667+00:00
Yang, Yi (RC-CN DI FA R&D SW) 20 Reputation points
commented 2024-06-26T09:40:49.33+00:00
Yang, Yi (RC-CN DI FA R&D SW) 20 Reputation points
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.
345 questions
asked 2023-12-08T04:25:35.22+00:00
Joshua Thomas 10 Reputation points
commented 2024-06-14T05:08:10.6633333+00:00
J S 1 Reputation point
1 answer

Mocking objects of the library Microsoft.SqlServer.TransactSql.ScriptDom

I am currently writing the unit tests for a class using the Microsoft.SqlServer.TransactSql.ScriptDom library. I am unable write unit tests for my class as I am unable to set the properties of mocked objects as there is no setter for that property. For…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,026 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,816 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.
345 questions
asked 2024-06-03T09:38:17.7333333+00:00
Ameen Ahmed 0 Reputation points
answered 2024-06-03T16:09:57.6266667+00:00
Bruce (SqlWork.com) 63,501 Reputation points
0 answers

How to get Code Coverage in Visual Studio 2022 with CMake Cpp Projects with a Windows Compiler

I have a Cpp project that is being built with the MSVC compiler and using CMake. I need a code coverage solution, preferably one that either provides detailed reports or in Visual Studio code highlighting that is possible using CMake. So far I have tried…

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,681 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.
345 questions
asked 2024-05-28T09:01:11.2366667+00:00
Hoad, Tom 0 Reputation points
commented 2024-05-28T13:37:45.93+00:00
Tianyu Sun-MSFT 30,236 Reputation points Microsoft Vendor
0 answers

Visual Studio 2022: Error reopening files (error code 0x80004005)

I have the above error when I rebuild a solution. I used Resource Monitor to see who has the file in question (ABC.exe type) and it shows nobody has it. Following this issue's comments from others, I see no solution.

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.
345 questions
asked 2024-05-16T15:05:39.61+00:00
Robert Glover 1 Reputation point
commented 2024-05-17T03:31:06.8833333+00:00
Anna Xiu-MSFT 28,491 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Use of visual studio community edition for testing VSTO projects?

I am more familiar with Visual studio over VS code and I was wondering with my work PC if I could test some VSTO projects as to see if worth migrating our VBA projects to something modern. I was thinking for the testing to use the 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.
5,026 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.
345 questions
asked 2024-05-14T14:22:36.82+00:00
Jonathan Brotto 340 Reputation points
commented 2024-05-15T16:29:51.15+00:00
RLWA32 44,926 Reputation points