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…
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…
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
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…
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…
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…
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…
Webbrowser not shown in Toolbox
I have activated the Webbrowser in Extras/Toolboxelements but its not shown in the Toolboxlist. What do i wrong?
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…
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…
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…
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…
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.…
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…
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…
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
![](https://techprofile.blob.core.windows.net/images/2ZetdppIpE6OMgitSzNvbw.png?8D9D61)
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…
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…
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.
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.…
![](https://techprofile.blob.core.windows.net/images/_5e-jRvlCkWlkMrV8cdbJg.png?8D8365)