How to automate windows application using Appium, Selenium and WinAppDriver

Опубликовано: 15 Октябрь 2024
на канале: AutomationWithArnab
17,111
121

Automate windows application like Universal Windows Platform (UWP), Windows Forms (WinForms), Windows Presentation Foundation (WPF), and Classic Windows (Win32) apps on Windows 10 PCs using Appium and Selenium. I have used windows application driver(WinAppDriver) service which supports by Selenium-like UI Test Automation on Windows Applications.

IDE : Eclipse
Programming Language : Java
Automation Library : Java Client - Appium & Selenium
Automation : WinAppDriver
Testing Framework : TestNG

Download the codebase from below link :
https://github.com/AutoInnoMation/aut...

Download WinAppDriver from below link :
https://github.com/microsoft/WinAppDr...
Try to download install x86 version

Download Windows SDK:
https://developer.microsoft.com/en-us...
Path for inspect tool :
C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64

How to Get AppId :
1. Open Powershell in your computer
2. Use "Get-StartApps" or "Get-StartApps | Out-File -FilePath .\sample.txt"