329 questions with Visual Studio Testing tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How to do the application show its form when it´s running?

Hi...I started using Visual Studio 2022 Community to learn how to program using Visual Basic. I use a notebook with an Intel i7 processor, with 20GB of RAM and 480GB of storage in an SSD. After creating the application and clicking on the PLAY button of…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,836 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,632 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.
329 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.
972 questions
asked 2023-10-20T18:08:19.6733333+00:00
Celso Telles 20 Reputation points
commented 2023-10-23T11:08:25.3966667+00:00
Celso Telles 20 Reputation points
1 answer

Cannot expand Test Case, Cannot copy a large number of items in the query

Cannot expand the Test Case, it keeps the length with only the first five steps. After run a query, cannot copy a large number of items and paste to excel (my data around 400 record), it missed some items or show blank row.

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.
329 questions
asked 2023-10-17T08:36:26.6133333+00:00
Nguyen, Trieu 0 Reputation points
answered 2023-10-17T09:22:05.81+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
0 answers

Test Coverage Definition - Unit Testing

Well! I was having an argument on test coverage for a project with a friend and below are the points that I stick to. As am a novice in this area, would expect few clarifications on the points that I am up to and if these are valid. Test Coverage,…

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.
329 questions
asked 2022-03-18T13:44:49.97+00:00
Amit Kanti Barua 1 Reputation point
commented 2023-10-13T17:48:29.1+00:00
Ran Halprin 0 Reputation points
0 answers

i am getting this error : [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Details below

Hi, these are the full errors : Configuration Error *Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file…

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.
943 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.
329 questions
asked 2023-10-11T19:23:39.65+00:00
iqworks Information Quality Works 236 Reputation points
commented 2023-10-12T03:28:49.6366667+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to save test output logs in Visual Studio 2015

Can't seem to find a way to save the output of unit tests to a .trx file. Seems like during the change from VS2010 to VS2015 we've lost that feauture. Problem is our tests can sometimes cause VS2015 to crash, especially when we're running overnight, and…

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.
329 questions
asked 2023-08-30T18:12:55.5466667+00:00
Teige, Connor 20 Reputation points
accepted 2023-09-28T16:35:05.97+00:00
Teige, Connor 20 Reputation points
1 answer

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,401 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,292 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.
329 questions
asked 2023-03-29T08:14:23.1533333+00:00
Aarti Jangid 0 Reputation points
commented 2023-09-27T11:32:58.8566667+00:00
Elizha, Sheeba 0 Reputation points
1 answer

TestExplorer: Tests cannot be executed from TestExplorer because of the different output directories

Setup: Windows 11 Visual Studio 2022 C++ 20 I work in a large project with over 70 sub-projects. The output directories of the individual DLL's are different. Now when I want to run UnitTests, the required DLL's are not found and I get the error…

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,540 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.
329 questions
asked 2023-09-25T15:12:38.08+00:00
Michael Brunner 40 Reputation points
answered 2023-09-26T12:45:22.83+00:00
Michael Brunner 40 Reputation points
1 answer One of the answers was accepted by the question author.

offline install issue of visual studio 2019

I created an offline installation file for Visual Studio 2019, so I moved it to a computer without internet access to install it. However, the problem is that the Visual Studio Installer keeps trying to connect to the internet during the installation…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,632 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.
176 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.
943 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.
329 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.
972 questions
asked 2023-06-13T08:32:22.86+00:00
최동윤/DONGYUN CHOI 20 Reputation points
commented 2023-09-25T06:26:36.3766667+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
1 answer

Visual Studio Enterprise 2019 Load Testing with Visual Studio IDE

Hello, Greetings of the Day!.. I am beginner with visual studio load testing. I am trying to record my registration form and it could able to record all the dependent + all fields + Save button. But when I am trying to run the web test it seems the…

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.
329 questions
asked 2020-08-05T05:38:27.167+00:00
nimmy abraham 1 Reputation point
answered 2023-09-24T18:24:09.2566667+00:00
Vahid Ghafarpour 18,130 Reputation points
1 answer

Rerun fail test case - MsTest

Hi Team I need to rerun the fail test case automatically using mstest in my automation project (selenium /C#) I have few solutions as below but i am not finding the exact one . If any one has already worked ,pls help me out on this. sol1 : using…

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,292 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.
329 questions
asked 2022-04-04T04:32:34.237+00:00
AnnyD 1 Reputation point
commented 2023-09-21T13:00:10.5833333+00:00
Ricardo Pereira 0 Reputation points
0 answers

How does time in diagnostics session counters file is calculated?

Hi, I need exact values of performance of my program from performance profiler, for documentation of my program, the problem, I need values that have been collected from my program in order to data organize and document it, I have already extracted the…

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.
176 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.
943 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.
329 questions
asked 2023-09-14T10:38:15.2666667+00:00
Rambod Mokhtari 0 Reputation points
edited a comment 2023-09-18T08:16:59.3966667+00:00
Rambod Mokhtari 0 Reputation points
1 answer

Is there a work around to use VSTest task to run the tests on a mac agent

We want to publish the test results to azure devops test cases which were run through a azure devops yaml pipeline.For running tests on a windows platform we are using VSTest task where the task itself will take care of publishing the results to the…

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.
329 questions
asked 2023-09-15T09:25:19.6266667+00:00
KapuAnusha-2285 0 Reputation points
answered 2023-09-15T11:03:00.8066667+00:00
Anna Xiu-MSFT 25,806 Reputation points Microsoft Vendor
0 answers

Is there a way to change the preprocessor directive based on the testEnvironment of a unit test?

Hello, I'm a developer using remote configurations for unit tests. I'd like the preprocessor to change every time I modify the environment defined in the testEnvironment.json file from the Test Explorer. Is there a way to do this? thank you.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,401 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,632 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,254 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.
329 questions
asked 2023-08-24T09:00:54.2933333+00:00
Anonymous
commented 2023-08-25T07:02:16.83+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
1 answer

Test Explorer does not find UnitTests in the newly created Angular/React project (.esproj)

I have created a new Angular project using Visual Studio 2022. This automatically creates a demo project that also contains a test file with some tests (app.component.spec.ts). My problem is that the test explorer does not find the tests. I have rebuilt…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,632 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.
329 questions
asked 2023-07-13T12:40:08.45+00:00
Daniel Breul 0 Reputation points
edited an answer 2023-07-21T09:38:12.6266667+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Test cases not discovered/How to show output of Discover Tests in Test Explorer

I'm writing unit tests for a c++ project using Visual Studio, Test Explorer, and google test. I have two classes to test 'Strategy' and 'StockThread'. If I declare my class of type Strategy, none of the test cases are discovered by Test Explorer and I…

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,540 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.
329 questions
asked 2023-05-25T02:23:19.3833333+00:00
plborgprograms 20 Reputation points
commented 2023-07-10T21:13:26.3733333+00:00
plborgprograms 20 Reputation points
2 answers

Not getting 'Apple Two step authentication' window while adding a new apple developer account-Xamarin

I am trying to add a new apple developer account in my visual studio.I am getting a dialogue box after entering the login credentials.But no devices are listed or my phone number is not showing here to send a verification OTP.How can I proceed with…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,632 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.
329 questions
asked 2023-07-04T08:22:23.34+00:00
XamarinInn 1 Reputation point
commented 2023-07-07T09:59:19.5533333+00:00
XamarinInn 1 Reputation point
1 answer

Visual Studio Remote Testing - Add additional docker run arguments

I'm using the remote testing feature from Visual Studio to execute my unit tests on a Linux container. For this, I have the following Dockerfile.test FROM mcr.microsoft.com/dotnet/sdk:6.0 RUN mkdir /usr/local/temp RUN wget https://aka.ms/getvsdbgsh…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,632 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.
943 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.
329 questions
asked 2023-07-05T11:38:45.64+00:00
Johannes Jaeger 0 Reputation points
answered 2023-07-06T04:02:34.1833333+00:00
Anna Xiu-MSFT 25,806 Reputation points Microsoft Vendor
0 answers

How can I combine Queries?

I've been struggling with Xamarin ever since I started using it. The queries are very restrictive and when you get to cross platform testing it's getting more and more difficult to manage. My first question amongst several hundred is how can we build…

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.
329 questions
asked 2023-06-28T00:20:13.0733333+00:00
Andrew Parra 0 Reputation points
commented 2023-06-28T14:29:17.9566667+00:00
Andrew Parra 0 Reputation points
1 answer One of the answers was accepted by the question author.

What is the latest version of Visual Studio Test Professional?

Have been issued new license from employer for Visual Studio Test Professional. When looking at downloads available on my Microsoft Visual Studio Subscription, the latest available is Visual Studio Test Professional 2017. This does not seem right and I…

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.
329 questions
asked 2023-06-22T15:51:04.5366667+00:00
Robert Shipley 20 Reputation points
accepted 2023-06-23T03:52:18.3533333+00:00
Robert Shipley 20 Reputation points
3 answers

xUnit succeeded without finishing the test - Visual Studio Debugger crashes - Visual Studio Community Version 17.6.0

Hi there, in a Windows Form the constructor of a form instantiates a class derived from ComboBox. This class just changes the background overriding OnEnter and OnLeave if (Enabled) Backcolor = System.Drawing.Color.FromArgb... and then call the base…

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.
329 questions
asked 2023-06-02T14:44:59.2966667+00:00
daniele luppi 0 Reputation points
answered 2023-06-21T15:12:58.6066667+00:00
daniele luppi 0 Reputation points