351 questions with Visual Studio Testing tags

Sort by: Updated
1 answer

"The ordinal 345 not found in the DLL" error

I am facing an issue with a Visual Studio solution that contains a development project and a newly added unit test project to test this development project. The unit test project compiles without any issues, but when I run it, I get the following error…

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.
1,004 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.
351 questions
asked 2024-10-24T14:44:35.6+00:00
chedli zaafouri 0 Reputation points
answered 2024-10-24T15:25:27.7166667+00:00
RLWA32 45,701 Reputation points
0 answers

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

Hello everyone, I’m experiencing an issue with Visual Studio 2022 while trying to create a new publish store package. When I first reached the app list panel, I was facing the issue that it didn’t sync my account, and I couldn’t see any of my store app…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,193 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.
351 questions
asked 2024-10-17T11:34:29.3066667+00:00
Nallamuthu Sundhararajan 0 Reputation points
commented 2024-10-18T03:09:32.92+00:00
Anna Xiu-MSFT 29,831 Reputation points Microsoft Vendor
0 answers

why I cannot login server for hotmail email by python?

i got error when logging in the server by python coding for hotmail account even I created a new one. server.login('xxxx@hotmail.com', 'password')

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.
351 questions
asked 2024-10-04T14:25:49.2466667+00:00
friend 0 Reputation points
commented 2024-10-10T09:17:04.22+00:00
Friend 0 Reputation points
0 answers

Microsoft Fakes and real object constructor

I'm using .NET 4.8 and Microsoft Fakes to create Shim object for unit testing. This class (KRSampleManager) is using Lazy initialization to create an instance and implements IDisposable interface. namespace SampleManager { public class…

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.
11,011 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.
351 questions
asked 2024-10-01T09:08:03.5166667+00:00
Raja, Kushal 0 Reputation points
commented 2024-10-03T04:51:34.86+00:00
Raja, Kushal 0 Reputation points
1 answer

TUnit Test is not showing in the Test Explorer

I created this simple test: namespace TestingApplication {     public class TestsExample     {         [Test]         public async Task TestExample()         {             var sum=Add(3,5);             await Assert.That(sum).IsEqualTo(3);         }     …

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.
351 questions
asked 2024-09-25T00:53:37.0866667+00:00
Muhammad Ghozlan 0 Reputation points
commented 2024-10-01T07:22:42.2066667+00:00
Anna Xiu-MSFT 29,831 Reputation points Microsoft Vendor
1 answer

How to Retest Without Losing Previous Results in Azure Test Plans?

Hi everyone, I’ve already set up my Test Suite, Test Plans, and Test Cases. However, I’m trying to figure out how to run the same tests again while keeping the results from the previous runs intact. Any tips on how I can achieve this without overwriting…

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.
351 questions
asked 2024-09-12T14:55:46.9566667+00:00
Seriouspike 0 Reputation points
commented 2024-09-14T06:34:41.6+00:00
Seriouspike 0 Reputation points
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.
351 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 31,246 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.
351 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 31,246 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.
351 questions
asked 2024-08-24T12:17:44.47+00:00
shambhu 45 Reputation points
commented 2024-09-03T07:02:07.9933333+00:00
Anna Xiu-MSFT 29,831 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.
351 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.
351 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 29,831 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.
351 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,921 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.
11,011 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.
351 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.
351 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.
278 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.
351 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
64 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.
460 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.
278 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.
351 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
64 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.
351 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 29,831 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,193 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.
227 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.
1,004 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.
351 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,050 questions
asked 2024-02-22T10:26:52.3333333+00:00
ANOJAN .T 5 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,921 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,193 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,760 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.
351 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.
351 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 31,246 Reputation points Microsoft Vendor