345 questions with Visual Studio Testing tags

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

Can Someone Help Me With Visual Basic Chapter 4 Payroll?

I'm doing code in computer class and we're working on exercises. This exercise is called Payroll and I'm having trouble with it. Every time I try to test, I press the "Pay" button and the numbers reset. Can someone look at my code and help me?…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,026 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.
986 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.
345 questions
asked 2020-12-08T14:19:43.357+00:00
ylime 21 Reputation points
commented 2020-12-08T14:41:10.233+00:00
ylime 21 Reputation points
3 answers One of the answers was accepted by the question author.

Visual Studio MFC change text in Edit Control while typing/dynamically

Hello, I am trying to set up a MFC C++ App in Visual Studio 2019 such that if the user turns on a 'Letters to Numbers' mode via a radio button, the letters in their text change AS THEY TYPE to numbers. void Onsomebtnclick() { //convert CString to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,026 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.
986 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.
345 questions
asked 2020-12-03T23:45:56.063+00:00
daktaklakpak 41 Reputation points
accepted 2020-12-04T10:21:37.27+00:00
daktaklakpak 41 Reputation points
1 answer One of the answers was accepted by the question author.

Visual Studio MFC C++ Move cursor after SetDlgItemText

I am making a Visual Studio MFC C++ App, and I am having a (hopefully) small problem. I have an Edit Control text box with ID txtInputBox, and it has a value C-String variable m_inputText assigned to it. After I do a SetDlgItemText(txtInputBox,…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,026 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.
986 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.
345 questions
asked 2020-12-04T09:22:35.063+00:00
daktaklakpak 41 Reputation points
accepted 2020-12-04T09:58:35.783+00:00
daktaklakpak 41 Reputation points
1 answer One of the answers was accepted by the question author.

What Is The Optimal Solution When There Is Incompatibility Between Google Chrome Driver & Google Chrome Browser

Error - " System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 85 (SessionNotCreated)" Version Of Google Chrome I Am Using: Version 87.0.4280.66 (Official Build) (64-bit) …

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,815 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.
345 questions
asked 2020-11-28T09:49:16.223+00:00
O.A 41 Reputation points
commented 2020-12-02T16:02:13.75+00:00
O.A 41 Reputation points
1 answer

Help with VB 2019 and Win Forms App .Net Framework

open-database-by-sql-server-dotnet-data-provider At the above link is what I'm following to learn how to connect a SQL server table to a VB 2019 form - creating a .Net Framework app. I'm stuck at Steps 2 under the section "Use Server…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,711 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.
345 questions
asked 2020-11-26T22:24:15.27+00:00
Mohsin Jessa 1 Reputation point
answered 2020-11-27T08:55:01.667+00:00
Peter Fleischer (former MVP) 19,321 Reputation points
1 answer One of the answers was accepted by the question author.

vs code python test pylint error

Hi Folks I am trying to complete the very simple Python testing tutorial at [testing][1] using visual studio code. But I get an error saying unable to import inc_dec pylint import error-screenshot attached. I have checked my path has python3.7 and pip…

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.
345 questions
asked 2020-11-19T22:52:36.64+00:00
Binway 696 Reputation points
accepted 2020-11-22T07:56:10.52+00:00
Binway 696 Reputation points
2 answers

.NET VB form hangs during execution process

Hi, I have a .NET VB application running on a windows server. My VB is connected to a PLC, and my VB service suppose to read data from PLC. During the execution of the VB code, my application hangs if the PLC is disconnected and remain in hung state…

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.
986 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.
345 questions
asked 2020-11-04T14:27:24.277+00:00
Azra Begum 1 Reputation point
answered 2020-11-06T05:55:38.653+00:00
Xingyu Zhao-MSFT 5,366 Reputation points
2 answers

Test Plan - Write testcase: How can I insert a new column for pre-condition before Step-Action

When writing a test case, before the step action, I wanna insert a column name pre-condition. Please help me to find out this function.

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.
345 questions
asked 2020-10-27T06:51:09.78+00:00
Rimoka Nguyen 1 Reputation point
commented 2020-10-28T07:42:10.897+00:00
Dylan Zhu-MSFT 6,416 Reputation points
1 answer One of the answers was accepted by the question author.

Set ActivClient Login dialog PIN field value with UI Automation SetValue VS 2019 .Net 4.8

Configuration: VS 2019 .Net 4.8 Unit Test solution/project using hybrid Selenium/UI Automation framework Scenario: A script launches an IE 11 browser and navigates to an https website that authenticates access with a CAC/PIN. Issue: 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.
345 questions
asked 2020-10-13T19:01:52.75+00:00
Kuntze, Gerry P. - US 96 Reputation points
accepted 2020-10-23T12:50:23.197+00:00
Kuntze, Gerry P. - US 96 Reputation points
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.
345 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 30,236 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.
5,026 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.
345 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.
345 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 30,236 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,756 questions
Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
274 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.
345 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,891 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.
345 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.
5,026 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.
345 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.
345 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 30,236 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.
5,026 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.
345 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,031 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 30,236 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.
5,026 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.
345 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 30,236 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.
345 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 30,236 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.
345 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 30,236 Reputation points Microsoft Vendor