No announcements
-
0 Votes
Coded Ui Testing Not running in Visual studio 2015
We have a Coded-Ui-Testing application which will run in visual studio 2015. Recently I have formatted the system and then re-installed the Visual studio 2015. Now the same tests cannot able to run ...Unanswered | 2 Replies | 81 Views | Created by Rocky (a) K.S.Radhakrishnan - Thursday, December 5, 2019 3:14 PM | Last reply by Rocky (a) K.S.Radhakrishnan - Friday, December 6, 2019 11:01 AM -
0 Votes
Not able to associate the Test case to the Test method From Unit Test Project using selenium web driver
Test Explore > Select the Test and Click on Run. I am not able to Associate the Test case to the Test method From Unit Test Project which were developed ...Proposed | 7 Replies | 2466 Views | Created by Vegi Satish - Thursday, March 1, 2018 5:37 AM | Last reply by shaz_san - Thursday, December 5, 2019 8:23 PM -
0 Votes
Unit test for Insert procedure
Insert function is already and it is a void method, I have to write unit test for it. Require get the data, which have just inserted, to compare with expected ...Unanswered | 3 Replies | 352 Views | Created by Hien_Hoang - Thursday, November 28, 2019 8:27 AM | Last reply by Dylan Zhu-MSFT - Friday, November 29, 2019 10:08 AM -
3 Votes
Message: Unhandled C++ Exception
If a std::exception is thrown from my code, Test Explorer will just show "Message: Unhandled C++ Exception". It does show the proper stack trace ...Answered | 3 Replies | 1491 Views | Created by pmagalhaes - Wednesday, February 5, 2014 5:07 PM | Last reply by Radek Tetik - Thursday, November 28, 2019 3:14 PM -
0 Votes
QT5 C++ library unit tests inside Visual Studio 2019 project
Hello! Do you have experience use QT library in visual studio 2019 ? Im looking solution for create unit tests (boost/google) for project with this library. I have some issue when ...Unanswered | 2 Replies | 215 Views | Created by Maciej Obłaza - Tuesday, November 19, 2019 10:53 PM | Last reply by Maciej Obłaza - Thursday, November 28, 2019 11:32 AM -
0 Votes
Exception "System.Reflection.TargetInvocationException" when trying to access oracle database through Entity Framework in Coded UI Test
System.TypeInitializationException: The type initializer for 'System.Data.Entity.SqlServer.SqlProviderServices' threw an exception. ---> System.TypeLoadException: Could not load type ...Unanswered | 23 Replies | 4606 Views | Created by abubakar.semasaba - Thursday, August 10, 2017 3:08 AM | Last reply by J Dilip - Wednesday, November 27, 2019 2:22 AM -
0 Votes
How to mock SetCommandTimeout and optionsBuilder using moq in .Net Core API
I need a help to mock and handle the SetCommandTimeout and optionsBuilder for unit testing using Moq and NBuilder possibly? Database ...Unanswered | 1 Replies | 187 Views | Created by SomaSundaram R - Friday, November 22, 2019 10:37 AM | Last reply by Tianyu Sun-MSFT - Monday, November 25, 2019 7:49 AM -
0 Votes
Getting all combinations for Test
Hi all, for an NUnit-Test I want to have all combinations for my Test-Input-Parameters in a special format (see comments below): public void ...Unanswered | 3 Replies | 343 Views | Created by CSharpDeveloper_OXO - Saturday, November 16, 2019 7:47 AM | Last reply by Dylan Zhu-MSFT - Wednesday, November 20, 2019 9:42 AM -
3 Votes
Unit tests - startup
Hello! Does anyone know a good example, tutorial for unit tests? How do you create one?What advantages and disadvantages do I ...Answered | 5 Replies | 344 Views | Created by Markus Freitag - Sunday, November 17, 2019 11:27 AM | Last reply by Kareninstructor - Monday, November 18, 2019 7:49 PM -
0 Votes
Not abe to do Automation Association for Specflow Test Scenarios[Associate to Test Case option is disabled]
Hi, We are working on existing automation suite which is built on SpecFlow 2.X , Selenium Web Driver with C#.Net. We are not able to do automation association for SpecFlow scenarios ...Unanswered | 1 Replies | 233 Views | Created by Anusha Edara - Sunday, November 10, 2019 6:02 PM | Last reply by Dylan Zhu-MSFT - Monday, November 11, 2019 11:27 AM -
0 Votes
Error while publishing test results to TFS using vstest console
HI I am trying to run my tests using vstest_console.exe but it throws an error when I use TFS as a logger: Error: Exception ...Unanswered | 5 Replies | 301 Views | Created by thakurAnunay - Wednesday, November 6, 2019 1:38 PM | Last reply by Tianyu Sun-MSFT - Monday, November 11, 2019 10:00 AM -
0 Votes
How to format .runsettings file for SQL Server Unit Test
I'm attempting to run SQL Server Unit Tests using the "Visual Studio Test" task in an Azure DevOps release pipeline. The tests keep timing out, and I believe it's because the pipeline cannot ...Proposed | 4 Replies | 446 Views | Created by DataJedi - Thursday, October 10, 2019 9:00 PM | Last reply by DataJedi - Thursday, October 31, 2019 5:12 PM -
0 Votes
Having problems with running visual basics code
Visual Studio cannot start debugging because the debug target C:\Users\varad\source\repos\Project3\Project3\bin\Debug\Project3.ex e' is missing. Please ...Proposed | 1 Replies | 271 Views | Created by Creator121212121212121212 - Friday, October 25, 2019 3:57 AM | Last reply by Dylan Zhu-MSFT - Friday, October 25, 2019 8:36 AM -
0 Votes
Unable to run unit tests
Hi, I am new to unit testings, I am using the default VS unit test framework. I have two unit tests I want to run: [TestClass()] public class ...Answered | 4 Replies | 362 Views | Created by avivgood - Tuesday, October 22, 2019 7:57 PM | Last reply by Tianyu Sun-MSFT - Thursday, October 24, 2019 7:36 AM -
0 Votes
How to use unit testings on forms?
I have a form I want to create a unit testing for a Form. I want to demonstrate user click by calling the method that is activated OnClick. I don't even need to display the form ...Answered | 1 Replies | 298 Views | Created by avivgood - Wednesday, October 23, 2019 7:41 PM | Last reply by Dylan Zhu-MSFT - Thursday, October 24, 2019 3:23 AM -
0 Votes
Mocking of Private Methods and Fields in Unit Test
Hi All, I want to mock private fields and methods for unit test. What is the best way to do it.? I tried PrivateObject class but I ...Proposed | 4 Replies | 337 Views | Created by Sud89 - Thursday, October 17, 2019 5:29 AM | Last reply by Dylan Zhu-MSFT - Tuesday, October 22, 2019 8:53 AM -
0 Votes
How to generate a .trx file for each test
Hello, I would like to know is there any possibility of generating a .trx file for each test separately? The problem is, I ...Answered | 6 Replies | 754 Views | Created by R Anil - Tuesday, July 23, 2019 7:03 AM | Last reply by R Anil - Thursday, October 17, 2019 3:44 AM -
0 Votes
UnitTest for async Method - with Debugging
I try to unit test async method. However, the following code does not work for break point and Test run from Test Explorer ...Answered | 2 Replies | 507 Views | Created by OnTheWayToThat - Wednesday, September 25, 2019 10:42 PM | Last reply by OnTheWayToThat - Wednesday, October 16, 2019 5:18 PM -
0 Votes
Cannot Register Visual Studio Controller with Agent
Hi, I'm trying to run some distributed load tests using in premises hardware. I have 3 VM's, one is setup as the controller and the other 2 as agents. I have configured the ...Proposed | 10 Replies | 1095 Views | Created by RiyaziH - Tuesday, September 3, 2019 4:34 PM | Last reply by Tianyu Sun-MSFT - Tuesday, October 8, 2019 1:25 AM -
0 Votes
VSTS Webtest for UDP Request
Hi , I am trying to load test for UDP request in VSTS. Is there any option to achieve the same ? UDP Request contains only ip & port, But web request needs ...Proposed | 2 Replies | 361 Views | Created by Maha raja - Tuesday, October 1, 2019 5:38 AM | Last reply by Jack Zhai-MSFT - Monday, October 7, 2019 8:33 AM - Items 1 to 20 of 2712 Next ›
No announcements