372 questions with Developer technologies | Visual Studio | Testing tags
Azure DevOps server 2022 - View execution of in-progress tests orchestrated with Maven
We are executing selenium tests using maven and the output of our task is a very standard JUNIT output. We do see a tab added to out build output with the test results which is helpful, now we need the output as we run the tests, how can we achieve that?…
Developer technologies | Visual Studio | Testing
Azure DevOps: How to export test results (outcome) to Excel?
How to export test results (outcome) to Excel in Azure DevOps? Google returns: "To export test results from Azure DevOps, you can use the built-in functionality within the Test Plans section, which allows you to export test cases and results…
Developer technologies | Visual Studio | Testing
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
Developer technologies | Visual Studio | Testing
Azure Load Testing
How to execute in parallel C++ tests written with the Microsoft Unit Testing Framework ?
We are writing C++ tests with the help of Microsoft Unit Testing Framework (https://learn.microsoft.com/en-us/visualstudio/test/how-to-use-microsoft-test-framework-for-cpp?view=vs-2022#run-the-tests) Tests are running fine, it works within Visual…
Developer technologies | Visual Studio | Testing
Developer technologies | C++
Developer technologies | Visual Studio | Other
How to fix LNK1181 error (including libs)
Severity Code Description Project File Line Suppression State Details Error LNK1181 cannot open input file 'C:\6money\libs.obj' Dll1 C:\6money\Money\Dll1\LINK 1 Hello, I'm currently facing an issue when trying to link the lua54.lib library in my…
Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Testing
Developer technologies | C++
Developer technologies | Visual Studio | Other
How to use VSTest.Console.exe to get code coverage for changed files only
Visual Studio Enterprise's Analyze Code Coverage function supports Changeset Report. I want to be able to get a code coverage changeset report i.e. report for only the changes files in my current branch from the command line by using VSTest.Console.exe.…
Developer technologies | Visual Studio | Testing
Creation of test suites
When creating a test suite you specify an area path and select functional requirements. When you open the created suite the area path is not the same as you specified before creating the suite, Why? There is no information in the suite from which…
Developer technologies | Visual Studio | Testing
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…
Developer technologies | Visual Studio | Testing
"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…
Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Testing

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('******@hotmail.com', 'password')
Developer technologies | Visual Studio | Testing
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…
Developer technologies | Visual Studio | Testing
Developer technologies | C#
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); } …
Developer technologies | Visual Studio | Testing
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…
Developer technologies | Visual Studio | Testing
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…
Developer technologies | Visual Studio | Testing
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…
Developer technologies | Visual Studio | Testing
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…
Developer technologies | Visual Studio | Testing
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…
Developer technologies | Visual Studio | Testing
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…
Developer technologies | Visual Studio | Testing
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…
Developer technologies | Visual Studio | Testing
Developer technologies | .NET | Other
Developer technologies | C#
Webbrowser not shown in Toolbox
I have activated the Webbrowser in Extras/Toolboxelements but its not shown in the Toolboxlist. What do i wrong?