Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
FlaUI
- Automated testing WPF app
-
[WPF, C#] Need ideas on how to automate these operations based on the response I get from python script.
If you are looking to automate this all through the GUI of each app involved then I suggest using FlaUI or some other wrapper around UIA
-
What do people usually use to automate Windows Applications?
FlaUI
-
What C# tools would you like to use that don't exist today?
The best open-source library for writing UIA for native Windows desktop apps is FlaUI if you find the problem space interesting. I started learning about all types of UIA when I started at a company doing QA work. Now I worked on UIA because I learned from my experience how bad UIA support is in most applications, and I am disappointed that people who are disabled have that to look forward to, not to mention that if my hands were ever crushed or some other maiming were to occur, I would be depending on UIA as well. Since that realization, I have tried to get more developers interested in UI automation and its quality, not just because of its effect on others with disabilities but because it benefits anyone in our profession to have that safety.
-
AutoHotkey v2 Official Release Announcement
Alternatively if you're into dotnet, FlaUI is amazing for automation and gives you a sane environment. I moved to it when I couldn't deal with AutoIT scripts anymore and it's everything I needed. https://github.com/FlaUI/FlaUI
-
WPF UI testing
I would suggest taking a look at FlaUI https://github.com/FlaUI/FlaUI
- FlaUI: UI Automation Library for .NET
-
Easy way for screen automation in WPF (C#)
What comes to mind is something like this one: https://github.com/FlaUI/FlaUI I don't think it can do the "search image on screen" part. A smooth mouse movement is only a series of mouse teleports, so that should be coded relatively easy. If you really don't know where the image is on screen and it also does not have a id to search for then it will be a little harder I guess. Like making a screenshot and putting it into some image processing library? Probably there are easier solutions out there
-
What is the best way to control another program from code without using APIs?
Is it possible to control another program via code? This link says yes and the following is the successor of what they originally recommended: https://github.com/FlaUI/FlaUI.
-
I've written a little launcher-alike tool that helps you with searching through your currently open browser tabs without having to manually click through all your browser instances.
If you're like me and have way too many tabs open and then get lost whenever you need to access that one tab quickly again, then this software might help you. It basically uses FlaUI to search for tabs in your browser instances and allows you to open the tab within a click. No need to manually click through all your browser instances. Kinda like the launchers everyone knows, just for browser tabs.
MSTest
-
Fluent Assertions: Fluently Assert the Result of .NET Tests
This library extends the traditional assertions provided by frameworks like MSTest, NUnit, or XUnit by offering a more extensive set of extension methods. Fluent Assertions supports a wide range of types like collections, strings, and objects and even allows for more advanced assertions like throwing exceptions.
-
Test-Driven Development
Use a testing framework: Utilize a testing framework like NUnit, xUnit, or MSTest to create, organize, and run your tests. These frameworks provide a consistent way to write tests, generate test reports, and integrate with continuous integration tools.
-
MSTest 2.2.9 now handles parallel output correctly.
Release v2.2.9 · microsoft/testfx (github.com)
-
Visual Studio Community and Unit Testing
Which exact version of the MSTest packages are you using? Currently it should be MSTest.TestFramework 2.2.7.
-
Os 3 principais frameworks de testes que todo desenvolvedor .NET deveria conhecer
Versão Atual 16.11.0 Downloads 252.3M Site https://github.com/microsoft/testfx
-
NUnit vs. XUnit vs. MSTest: Comparing Unit Testing Frameworks In C#
MSTest is the default test framework that is shipped along with Visual Studio. The initial version of MSTest (V1) was not open-source; however, MSTest V2 is open-source. The project is hosted on GitHub. Like other test frameworks, it can also be used for data driven testing. You can download MSTest V2 from Nuget.org.
-
Most Complete MSTest Framework Tutorial Using .Net Core
Open-Source – MSTest V2 is open-source, and the project is hosted on GitHub. The public repositories of the MSTest V2 are Microsoft/testfx and Microsoft/testfx-docs. Since the project is open-source, it allows contributions from the community.
What are some alternatives?
WinAppDriver - Windows Application Driver
Moq - Repo for managing Moq 4.x [Moved to: https://github.com/moq/moq]
PuppeteerSharp - Headless Chrome .NET API
xUnit - xUnit.net is a free, open source, community-focused unit testing tool for .NET.
White - DEPRECATED - no longer actively maintained
vstest - Visual Studio Test Platform is the runner and engine that powers test explorer and vstest.console.
Atata - C#/.NET test automation framework for web
AutoFixture - AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests in order to maximize maintainability. Its primary goal is to allow developers to focus on what is being tested rather than how to setup the test scenario, by making it easier to create object graphs containing test data.
pywinauto - Windows GUI Automation with Python (based on text properties)
Fine Code Coverage - Visualize unit test code coverage easily for free in Visual Studio Community Edition (and other editions too)
Managed Windows API - Managed Windows API (http://mwinapi.sourceforge.net/)
NUnit - NUnit Framework