Member-only story

Automate Windows Calculator (UWP) with Appium 2

Drive Windows UWP apps with Appium 2.

Zhimin Zhan
6 min readFeb 4, 2023

A repost of my daughter’s article, which was based on my book: “Practical Desktop App Test Automation with Appium”. I made minor modifications and added a few notes.

In a previous article, I went through how to automate iOS apps with Appium. In this article, we will drive a Windows app with Appium 2 (currently in beta). The sample app for today is the Windows Calculator, a Universal Windows Platform (UWP) app.

Running the UWP automated test in TestWise

Now, I’ll share a step-by-step guide to doing the same on your machine.

Table of Contents:
·
Set up Appium Server
·
Set Up Appium Client
·
First Appium Desktop Automated Script
·
First Appium Desktop Automated Test
·
Zhimin’s notes
How to Inspect Controls in Windows Native Apps?

Set up Appium Server

Appium works as client-server architecture. The server needs to be running to receive instructions from the client(s).

--

--

Zhimin Zhan
Zhimin Zhan

Written by Zhimin Zhan

Test automation & CT coach, author, speaker and award-winning software developer. Help teams succeed with Agile/DevOps by implementing real Continuous Testing.

No responses yet