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

automating windows based application running on thin client

I need to automate a windows based application running on thin client. Im trying winapp driver with selenium for achiving this. but with inspect.exe I cant locate the elements. if its not possible on thin client i have another question. with…
1
vote
0 answers

How to make object repository with Windows Elements in appium

I recently switched roles from building in selenium for web based applications over to building automation with Appium/WinAppDriver for windows desktop applications. On the selenium side I always used a specific structure to build out page objects…
Staindz
  • 108
  • 2
  • 9
1
vote
2 answers

WinAppDriver: how to obtain a list of children to a ListView control

New to UI automation, using Appium WinAppDriver on a UWP app, i am trying to find a way to get a list of all the elements in a particular ListView control, and then get values form each. I am maybe wrong, but there appears to be a child/parent…
concentriq
  • 359
  • 2
  • 6
  • 16
1
vote
1 answer

Setting automationIDs across an existing application

If I have an existing WPF application, and I want to assign automationIDs to the entire application where they aren't set, what's a good way to do that (for controls that aren't dynamically added)? Some sort of script that goes through all the xaml…
user11302188
  • 73
  • 1
  • 4
1
vote
1 answer

Drag and drop in WinAppDriver doesn't work

I try to automate tests of a drag and drop behavior in a WPF application. One custom control is dragged on another: Drag and drop behavior implemented in the usual WPF way:
Aleksei Petrov
  • 936
  • 12
  • 31
1
vote
2 answers

Appium WinAppDriver C# Calculator example Error

I'm trying to just run the calculator test C# example (https://github.com/Microsoft/WinAppDriver/tree/master/Samples/C%23/CalculatorTest) inside visual studio 2017. When I download and build the example, it shows several lines as deprecated; …
Marky
  • 175
  • 1
  • 10
1
vote
1 answer

Windows Application Driver, error "Could not find any recognizable digits." when connecting to session (driver)

I know how to launch a windows application using the filepath to launch it and that works (working example below). I am writing tests and they work too but my question is this: If the application is running already, how do I create my "session"…
Ewan
  • 541
  • 8
  • 23
1
vote
1 answer

Win App Driver: How can you run tests on another machine

I am really from a Coded UI background and have started using Win App Driver to test a WPF application. Please forgive me if I am missing something about Win App Driver. The good news is that it works on my development machine! When I developed…
Ewan
  • 541
  • 8
  • 23
1
vote
3 answers

WinAppDriver UI Recorder Tool

I am looking to generate simple UI tests for Windows Application, for example launch an application from the start menu and open a file with that said application. I am looking to allow any user to record a simple UI test as above, I have been…
user1403598
  • 485
  • 1
  • 6
  • 21
1
vote
3 answers

Which tool is compatible with windows 10 for extract windows element for window gui automation

Which tool is compatible with windows 10 for extract window element for window gui automation tools like winAppdriver, winium, appium window automation etc Many are listed in below URL: https://github.com/blackrosezy/gui-inspect-tool But most of…
Shubham Jain
  • 16,610
  • 15
  • 78
  • 125
1
vote
1 answer

WinAppDriver | executing .bat file

I am trying to execute .bat file using WinAppDriver. Everything is fine however, there are 2 sessions getting created. Expected: Chrome browser must launch once and navigate to stackoverflow page only once My java code snippet: @BeforeClass public…
KaRaN KhOt
  • 11
  • 1
1
vote
2 answers

How to Set DesiredCapabilities for a WPF App

I have developed a simple WPF applicaiton. I want to do some UI automation testing on my app. I started following this tutorial on how to do automation using Appium and Windows Application Driver. As a part of setting up the test environment for…
Amir
  • 53
  • 5
1
vote
4 answers

Testing excel with Winappdriver

Where can i find a good example of testing an excel addin project with custom ribbon elements, using winappdriver. What i have so far throws an exception: System.InvalidOperationException An element could not be located on the page using the given…
1
vote
3 answers

WinAppDriver OutLook New Email Elements not found

Trying to mimic (automate) email sending through outlook using WinAppDriver, the "New E-mail" element is recognized and new window opens but on the new Window the "To","CC" etc controls are not recognized. I suspect the new windows session is not…
srinigowda
  • 80
  • 9
1
vote
3 answers

How do I get a list of child elements using winappdriver in a win32 application?

I am using WinAppDriver (using NUnit and C#) to test some legacy win32 Applications. As I debug the tests, I reach certain points where I need to see a list of all child elements of the selected element. This will allow me to build the next step in…
Brad Bruce
  • 7,638
  • 3
  • 39
  • 60