Questions tagged [winappdriver]

Windows Application Driver is a service to support Selenium-like UI Test Automation on Windows Applications. This service supports testing Universal Windows Platform (UWP) and Classic Windows (Win32) apps on Windows 10 PCs. When using this tag, also include other tags for the specific components you are using, e.g. the programming language you're using like c#, python or java, selenium and selenium-webdriver and maybe specify the controls like xpath

Access the official GitHub with guides and samples.

286 questions
1
vote
0 answers

aqualityServices.Browser.GoTo("http://Localhost:4723/wd/hub/sessions") is not working when BrowseName is using 'edge'

Does anyone familiar to the 'Aquality Selenium for .NET'? to automate an a web-based site/Windows application (in conjunction with WinAppDriver)? So far, from what I have been left with, (meaning someone created this framework and has left the…
1
vote
0 answers

How to integrate undetected chrome driver for windows application

We are automating the windows application using appium - selenium and winappdriver. Before performing any action in our application we need to login with Microsoft account. For login with Microsoft account, our windows application supports…
1
vote
0 answers

Cannot interact an element because Windows Inspect cannot show that element in question - WinAppDriver + Selenium?

I need an advise from those who have more experience on automating a window desktop application. I cannot automate a test in a certain form because I believe it cannot be done as Win Inspect cannot really see them. I will show you 2 images below…
1
vote
0 answers

WinAppDriver, Appium, C#, Connecting To An Already Running Window on Windows 10

I'm trying to automate the use of an application with WinAppDriver and Appium on Windows 10 using C# .Net. I'm trying to attach to an already running Window and I've been failing to find a way. I've tried many examples on the web, including from…
John Alway
  • 65
  • 10
1
vote
1 answer

UI Test that can determine which classes to execute code from at runtime using interfaces

So just some background on how the current UI automation solution works - Our application is a Windows WPF app, so we utilize WinAppDriver for our automated testing needs. The solution for this is very similar to your typical UI automation page…
Tree55Topz
  • 49
  • 5
1
vote
1 answer

I can't move between Excel cells by WinAppDriver by Java

I'm trying to use WinAppDriver and Java. Any simple excercise was gone and I tried to automate Excel. But I have a problem to serf between cells. This is my code: System.out.println("Before Заполнить яч…
Vladimir
  • 21
  • 2
1
vote
0 answers

Windows desktop Calculator automation test not working with MS Visual studio-WinAppDriver-Appium

I am newbie to WinAppDriver-Appium automation test. I am just trying with simple C# sharp code to auto test windows desktop calculator. Please find below code. CalculatorSession.cs using Microsoft.VisualStudio.TestTools.UnitTesting; using…
1
vote
1 answer

Why does dotnet build on a .NET Framework 4.5 project throw "This project references NuGet package(s) that are missing"?

The sample NotepadAndCalculatorTest project built in VS Code using the terminal command dotnet build throws the following errors: C:\Program Files\dotnet\sdk\5.0.401\Microsoft.Common.CurrentVersion.targets(820,5): error : The…
Seibernaut
  • 33
  • 7
1
vote
0 answers

How to catch user even (click on a button) from windows UWP app while running WinAppDriver (Appium)

I need to catch user even and perform some script after it while driver is running What I want to solve: Run auto test on UWP app via WinAppDriver Perform some steps Wait for user input If button clicked -> do script, else user continue using…
1
vote
2 answers

How to switch focus between windows using WinAppDriver Java

I am new to windows automation using win app driver. Our application is developed with chromium browser and we are using win app diver to automate since the main app we are trying to open is windows based. When I click on Ok button opens another…
siri
  • 81
  • 2
  • 9
1
vote
0 answers

Could we use WinApp Driver to automate a couple of manual task instead of testing

The current place that I work at manually builds the QA websites in a set of convoluted steps. Those steps range from getting on a remote windows desktop, downloading the codebase of the new website and database on the remote desktop, then pasting…
1
vote
1 answer

How to type text with WinAppDriver and Node?

Here is my code: import { spawn } from 'child_process'; import { dirname } from 'path'; import { WindowsDriver } from 'appium-windows-driver'; async function main() { const program = "C:\\Program Files (x86)\\Windows Application…
0lan
  • 179
  • 1
  • 14
1
vote
0 answers

Automating GUI based application written in Java on windows

I am trying to understand and use winappdriver for recording and playing GUI based app testing in windows. I have a few questions: (1) Is the windows default spy/inspect tool which gives ID of GUI component capable of giving ID of any GUI written in…
grit639
  • 316
  • 1
  • 9
1
vote
1 answer

How to get context and switch to webview context

I'm testing a Windows hybrid application, I'm using the codes below to get contexts but I got an UnsupportedCommandException when I launch it. Here's my code : public void initialize() throws MalformedURLException { DesiredCapabilities…
1
vote
0 answers

WinAppDriver Selenium Switching to DIfferent App C#

Trying to open an app from another app and switch control to the app that opened. WinAppDriver does open the app but it doesn’t recognize the newly opened window. [OneTimeSetUp] public void TestInit() { _newProcess =…
David Lee
  • 11
  • 1