336 questions with Visual Studio Testing tags

Sort by: Updated
0 answers

Unit test code fails after package updated with breaking changes

Trying to repair some old code and broke a unit test. Specifically the line that creates the new TokenResponse object as it appears there is no longer a constructor for this IdentityModel class that takes an argument (Line #6) . Any suggestions would 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.
336 questions
asked 2020-10-11T19:16:45.807+00:00
JsChicago 1 Reputation point
commented 2020-10-12T07:19:29.527+00:00
Tianyu Sun-MSFT 28,931 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file

I am getting the following error "Unit Test Adapter threw exception: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,817 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 2020-09-30T19:17:45.21+00:00
Vinayak Deva 96 Reputation points
accepted 2020-10-07T03:16:54.74+00:00
Vinayak Deva 96 Reputation points
1 answer

Executing Tests using dotnet runner cli doesn't interpret DynamicData

I have a test case (MS UnitTest Framework, VS 2019) that uses the [DataTestMethod] [DynamicData(nameof(GetTestData), DynamicDataSourceType.Method)] attributes to iterate thru several objects. Running the test in VS TestExplorer works great, it iterates…

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 2020-09-29T13:56:11.087+00:00
Neftali Reyes 6 Reputation points
commented 2020-10-01T06:53:26.417+00:00
Tianyu Sun-MSFT 28,931 Reputation points Microsoft Vendor
2 answers

Visual Studio 2019 controller agent Azure Vm

my task is to create a vm to use as an agent to use for load testing I have VS 2019 I created an Azure VM using the following template:…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,467 questions
Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
263 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 2020-09-20T16:37:58.86+00:00
Mohammad Otoum 1 Reputation point
commented 2020-09-28T11:24:17.367+00:00
prmanhas-MSFT 17,901 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

Creating selenium tests in VS 2019

Hi, can you guide how can I create selenium based test projects in visual studio 2019. Right now when I create a project and try to add latest selenium package to it through nuget, it gives error stating that selenium is not compatible with .net core…

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 2020-09-22T14:52:35.273+00:00
Rajiv Kumar 21 Reputation points
accepted 2020-09-27T01:01:18.16+00:00
Rajiv Kumar 21 Reputation points
2 answers One of the answers was accepted by the question author.

Not able to generate ".coverage" report while running code coverage

I'm trying to run code coverage testing from command line using below commands: vstest.console.exe CoverTest.dll /EnableCodeCoverage /ResultsDirectory:"C:\btstack\apps\projects\CoverageTest\TestResults\result_1.coverage" And I'm seeing…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,817 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 2020-09-24T07:38:08.433+00:00
Abhishek Mukhia 21 Reputation points
accepted 2020-09-25T08:30:54.733+00:00
Abhishek Mukhia 21 Reputation points
1 answer

Running .orderedlist file using TFS test agent (on a remote machine) ?

Hi, I was wondering if it is possible to run CodedUI tests using TFS test agent (on a remote machine) in a specific order, using the option of creating an ordered list (.orderedlist extension) of required tests ? Thanks.

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 2020-09-15T22:34:21.47+00:00
Pavel Malichenko 1 Reputation point
commented 2020-09-21T07:56:31.167+00:00
Tianyu Sun-MSFT 28,931 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Correct way to create different versions of my software?

Hi! I am new to Visual Studio and it might seem like a silly question, how do I control the version of my software? I am creating software in C++ and during the development process, I make incremental changes to my software and increment its version…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,817 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.
996 questions
asked 2020-09-03T09:49:02.147+00:00
CJha 21 Reputation points
commented 2020-09-11T10:00:47.67+00:00
Tianyu Sun-MSFT 28,931 Reputation points Microsoft Vendor
1 answer

Program Runs Slower When Using "Start Without Debuggin"

I have a particularly vexing problem with more than one of my current solutions. When I execute the program by "Start with Debugging" the code performs perfectly. No breakpoints, just execute the program. Timing on the output is as expected.…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,817 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 2020-08-27T21:56:41.197+00:00
Thomas Kurilla 1 Reputation point
commented 2020-09-03T09:58:21.963+00:00
Tianyu Sun-MSFT 28,931 Reputation points Microsoft Vendor
1 answer

Tests wont run from build output folder when using runsettings file

VS2017 Version 15.9.24 I'm having issues with running my test cases. When i run my test using my run settings file. It keeps wanting to run the test from the test results folder instead of the build output folder. I don't know why this is happening…

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 2020-08-18T15:49:28.673+00:00
Wilnic Marc 6 Reputation points
commented 2020-09-02T09:56:18.4+00:00
Tianyu Sun-MSFT 28,931 Reputation points Microsoft Vendor
1 answer

Extract Test Result attachment from MTM TFS 2012

Hi team, For one of the reporting purpose we need to download the MTM test result attachments into local folder. We are planning to automate this process and unable to find any solution.Could anyone help in suggesting a best way to dowload attachments…

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 2020-08-24T07:51:47.517+00:00
Praseena Prasannan 1 Reputation point
commented 2020-08-28T02:04:34.88+00:00
Tianyu Sun-MSFT 28,931 Reputation points Microsoft Vendor
1 answer

Test Manager TestCases bulk Export to Excel

Is there way we can export Test Manager Test Cases bulk Export to Excel, If so please share the details. Thx.

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 2020-08-20T19:21:16.827+00:00
ravi gadhiraju 1 Reputation point
commented 2020-08-26T06:19:08.74+00:00
Tianyu Sun-MSFT 28,931 Reputation points Microsoft Vendor
1 answer

Bottleneck Testing in Source Code

Hello, Can anyone help me regarding this? Please let me know how can we do the bottleneck testing in Source code ?

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 2020-08-19T07:07:34.083+00:00
nimmy abraham 1 Reputation point
commented 2020-08-25T10:05:06.72+00:00
Tianyu Sun-MSFT 28,931 Reputation points Microsoft Vendor
0 answers

Visual Studio Load Test Result

Hello, The visual studio load test did not take the real measures for response time and avg.page time from web portal. and also want to take the different data for the various users. (Visual studio Enterprise 2019) .Kindly help me here.. Thanks 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 2020-08-05T08:54:25.297+00:00
nimmy abraham 1 Reputation point
commented 2020-08-21T02:20:32.113+00:00
Jack Zhai-MSFT 1 Reputation point Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Can't create MSTest Project

I have visual Studio 2019 16.7.1 I tried to create an MSTest project but had problems so I followed the walk through at https://learn.microsoft.com/en-us/visualstudio/test/walkthrough-creating-and-running-unit-tests-for-managed-code?view=vs-2019 …

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 2020-08-15T12:02:04.873+00:00
Mike VaughanEdwards 141 Reputation points
answered 2020-08-19T12:09:04.763+00:00
Mike VaughanEdwards 141 Reputation points
0 answers

Support for Managed Test Project in VS 2019?

Was there a post somewhere that mentioned that Managed Test Projects are no longer supported in VS 2019? They do not appear in the Add -> New Project dialog. Also, tests that live in such projects, created in previous VS versions, are not being…

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 2020-08-11T19:24:34.143+00:00
Lamb, Stephen 1 Reputation point
commented 2020-08-12T08:40:46.217+00:00
Tianyu Sun-MSFT 28,931 Reputation points Microsoft Vendor