Appium Based Windows Application Driver (WinAppDriver) is the newest automation testing tool for UI Automation and Software Functional Testing for testing desktop applications by Microsoft. Microsoft Coded UI, the UI test automation licensed tool sold by Microsoft in the past, is now deprecated. Appium WinAppDriver is a free tool that provides APIs for many programming languages, including C# Dot Net, Java, and Python. The WinAppDriver is based on Appium, which is based on Selenium, hence an industry standard automation testing tool. Appium WinAppDriver is entirely compliant with the WebDriver specifications(since it is based on Appium).
Windows Automation and Desktop Automation are at the heart of this course. It teaches you Appium WinAppDriver based Automation with source code and examples step by step.
WinAppDriver provides the following things to facilitate Automated Testing:
WinAppDriver UI remote control, the executable which is capable of receiving Appium commands and performing actions on the UI of a given Windows PC for automation testing.
WinAppDriver UI Recorder, a lightweight UI inspection tool that allows you to find various properties of Windows UI elements.
API support for various programming languages, including C Sharp (C#), Java, Python, and many more.
Many students of this course have used it to learn Windows UI Automation concepts in this course and are performing in Python automation and Java automation.
This course is a complete answer to your Windows automated software testing questions. In this course, I’m going to show you how to get started using Appium WinAppDriver in C# and how to go full throttle test automation in a short period.
Note: Appium is based on WebDriver which is also the basis of Selenium, this way if you start from Appium/WinAppDriver you can easily move forward to Selenium based UI testing. Although, you will need to understand how the DOM based HTML websites work.
The best part is that this course is in C# Dot Net, and I show you the techniques which work instead of typical open source trial and error. Appium based Windows Application Driver (WinAppDriver) is a course for the QA persons, by QA persons.
Appium is very popular in the automated tester community for mobile Automation. Appium for iOS and Android is already out there, now Microsoft has also joined the bandwagon by providing the necessary tooling to bring Windows application testing into the Appium world.
I’ll show you how to automate the testing of legacy Win32 Applications, how to deal with Unified Windows Platform (UWP) applications, and how to take care of it challenging to identify UI elements in C# (C Sharp) with WinAppDriver.
The first section covers tool installation in detail, and I’ll show you how to download and install everything you need for test automation. This will include Visual Studio Community Edition, Node.js, Appium, WinAppDriver.
In section 2, the Windows Application Driver (WAD) UI Recorder is introduced. As soon as the tools are installed, you’ll set up your first UI Automation solution in C# .Net and add Appium WinAppDriver. You’ll write your first test automation program using C# (C Sharp) and Appium WinAppDriver in the next 5 minutes. I’ll show you how to take a screenshot using Appium WinAppDriver from C# code, how to read a Windows Win32 application title, how to maximize a window, and how to quit an application started by Appium WinAppDriver test automation scripts.
In section 2, I’ll show you how to perform common UI Automation operations such as mouse click and typing with the keyboard (SendKeys). You’ll learn how to use Selenium implicit wait using C# in Appium/WinAppDriver scenarios.
Next, I’ll introduce you to the MS Test (Visual Studio Unit Testing) Framework. If you want to create a unit test project in Visual Studio. You’ll practically see the life cycle of an MSTest based unit test and implement it using keywords like TestClass, ClassInitialize, TestMethod, TestInitialize, TestCleanup, ClassCleanup in C#. I’ll also teach you about how to see if your automated tests are passed and failed(the TDD red-green cycle), I’ll show you the Visual Studio TestExplorer window for this purpose. You’ll also learn how to see test failure error details. These are general test automation concepts which can be used later on in different languages and environments as well with different test automation tools.
Afterward, I’ll show you how to mix MS Test with (Appium) Windows Application Driver to create proper automated software testing scripts. In this section, I’ll show you how to debug a test for identifying problems and devising solutions to difficult problems (sometimes, you just can’t find a Windows Element beforehand). This section will conclude with more useful information about practical, functional UI testing using automated software testing tools.
In the next section, I will be showing about data-driven testing in MS Test. I’ll show you how to incorporate Excel data in Appium Windows Application Driver tests. This section will show you how to run the same set of tests with different data for testing a variety of scenarios. However, I’ll show you how to use TestContext in automation testing.
The last section of this course will be about automated testing WinForms based applications in WinAppDriver (Appium). I’ll show you how to access the most commonly used Windows controls in RPA/UI Test Automation. Windows UI Elements (controls) covered explicitly by this course are given below:
In the end, I hope you will find this course to be useful for learning automated software testing and UI Automation in general for RPA like scenarios with Microsoft C#, Appium based WinAppDriver, and Visual Studio.
- Automated Testing & UI Automation with Appium, WinAppDriver in C# .Net on Windows 10
- Desktop automation for RPA and functional testing of Windows/WinForms applications with Appium WinAppDriver in C# .Net, Visual Studio
- Windows Automation Testing in Appium and WinAppDriver