Appium WinAppDriver UI Automation Testing Windows Apps in C#
What you'll learn
- 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
- A Windows 10 PC
- Basic understanding of programming in C# .Net
- Administrative access to install tools like Node, Appium, WinAppDriver, Visual Studio
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.
Appium Desktop Client is also covered, I show you how to create a custom session in Appium Desktop Client to inspect elements of a Windows application through Windows Application Driver(WinAppDriver or WAD). How to inspect the source elements XML tree using Appium for use in test automation.
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 that 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. WinForms Windows UI Elements (controls) related topics explicitly by this course are given below:
Checkbox test automation
Radio button test automation
Button test automation
DataGrid test automation
Popup automated testing
WinTree automated testing
Menu Item automated testing
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.
This course uses entirely FREE SOFTWARE TOOLS!
Test automation is important, learn it now!
Who this course is for:
- QA persons wanting to learning automated testing
- Software developers wanting to learn UI test automation
I am A person with many talents and interests, ranging from gardening to programming and poetry to cooking.
Right now I'm working as a Software Test Engineer. On my job I use Microsoft Coded UI, Selenium, and Appium for creating test automation scripts. It is also a part of my job to maintain these automation scripts and run them via CI/CD using TFS. Apart from teaching, I'm also learning how actively on Udemy and my core interests are Azure Devops.
I've been writing computer software code(C++, C# .Net) since 2006, creating awesome Android apps since 2012. I've been working as a freelance software developer since Nov. 2012.
I've extensively worked on network communications, computer telephony integration(CTI) using Microsoft TAPI 2.x and 3.x, and LDAP server programming(Active Directory). Android app development has been my focus as a freelancer, I've created and published several apps for clients and a couple for myself on Google Play store.
I've been sharing my knowledge through my blogs, and I am confident its time share more things that I've experienced with the world in a comprehensive video format.