WinAppDriver: First step into Windows app Test automation using WebdriverIO and WinAppDriver.

Praveen David Mathew
6 min readJul 24, 2021

Boiler Plate Code:

https://github.com/praveendvd/webdriverIO_winappdriver_boilerplate

Read the theory:

Let us start by understanding how easy is device Automation:

let's see what is automation is all about

Old implementation:

So previously there were no standards on device or web automation. Each device vendor releases a utility or tool called a driver that knows how to automate their product.

so for example for automating the windows app we have WinAppDriver, for automating chrome we have Chromedriver and so on. These tools have all implementations, code logic etc on how to automate their product (Yes you are right everything is already done for you)

Now they expose these implementations through rest API, rest APIs are nothing but an abstract public method that listens to HTTP calls and triggers the actual code logic under the hood when the user calls that rest endpoint. It just hides all the internal complex implementation so that users don't get scared.

an example API:

--

--

Praveen David Mathew
Praveen David Mathew

Written by Praveen David Mathew

An open source advocator/WebdriverIO Projectcommiter/Postman Supernova/Postman-html-extra contributor/Stack overflow sqa moderator/Speaker

No responses yet