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
0
votes
1 answer

How to load image using Tesseract LoadTiffFromMemory from WinAppDriver GetScreenshot method?

I'm using the following code to capture a screenshot from a WinAppDriver session and then passing it to a Tesseract Pix class for OCR to navigate links in a table that the WinAppDriver session (Win32 app) doesn't recognize. Note session is defined…
bigspank
  • 27
  • 7
0
votes
1 answer

Can we attach WinAppDriver with Selenium WebDriver (Automating Siebel/Silverlight application)?

I am opening Internet Explorer (ixplore.exe) using WinAppDriver and navigating to a URL by first finding the locator of address bar using inspect.exe and then hitting the enter. It navigates me to the page successfully.Now what i want from here is i…
dangi13
  • 1,275
  • 1
  • 8
  • 11
0
votes
0 answers

Katalon Studio fails to start application in Windows object spy

I use Katalon Studio 7.0.4 and Windows Application Driver v1.2 RC and allowed port 4723 on firewall. I used PuTTY for testing. Connection is successful, application is shown in spy tool, but got errors when try to use some methods(e.g.:click,…
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
0
votes
0 answers

WinAppDriver finds element on one machine but not others

I have an automated testing environment consisting of one development machine and two boxes that run the tests in an automated fashion. All three machines are running windows 10. All three are using the same verision of the WinAppDriver, and all…
Jereme
  • 630
  • 6
  • 18
0
votes
2 answers

Drag and Drop using Winapp driver for a UI Element

I have a plugin installed in visual studio that lets me create a form UI. Now I am trying to drag and drop an element on the form screen with help of an automation script using winapp driver which I am unable to do. var FindVSProjectWindow =…
Anuj Mittal
  • 73
  • 1
  • 8
0
votes
2 answers

How to locate XPATH for a desktop application

How can I locate XPath for an element in desktop application I am using Inspect tool to get the Name of an element. How do I create an Xpath from the Inspect tool? Can I use LegacyIAccessible.ChildId in the XPath to locate the location of the…
tester
  • 3
  • 1
  • 3
0
votes
3 answers

Numeric text box UpDown control AutomationID access with WinAppDriver

I have been testing a desktop application (WPF). in Use: C#, Appium, WinAppDriver. There are several numeric textboxes in one menu. The problem I have here is that I can't access the UpButton of a specific textbox on this page as all of the Up/Down…
VanGoghh
  • 11
  • 3
0
votes
1 answer

How I can switch WinAppDriver to another version

WinAppDriver is shipped with MSI package and it requires admin to install/uninstall it. Although WinAppDriver is already shipped with Microsoft hosted build agents, but I want another version, how I can switch WinAppDriver to another version.
Bittusha
  • 1
  • 1
0
votes
2 answers

WinAppDriver not working with side loaded Universal Application

I am unable to load a side loaded Windows Universal application using WinAppDriver I have verified my code works if I try to load the Windows Calculator application but I am unable to load my target application. I get an error message "The system…
BruceK
  • 180
  • 1
  • 1
  • 12
0
votes
2 answers

how to switch application winappdriver in java

I want to switch File Explorer and Chrome browser. how to switch application? in my code @BeforeClass public static void setup() { try { DesiredCapabilities capabilities = new DesiredCapabilities(); …
Yeonwoo Jeong
  • 33
  • 1
  • 6
0
votes
0 answers

WinAppDriver not able to locate the Open button in open file dialog box

I have made a application which opens a open file dialog box when I click a button. I have created the open file dialog box using the Open File Dialog function. I want to automate this application using Windows Application Driver for that I have to…
0
votes
0 answers

Interact with UWP Windows application using Microsoft UI Automation

I have to write a program to open a UWP Desktop application on Windows 10 PC and perform some operation and close, this should be run at constant intervals. I have checked WinAppDriver and Microsoft UI Automation testing frameworks. WinAppDriver…
MobDev
  • 1,489
  • 1
  • 17
  • 26
0
votes
1 answer

WinAppDriver having issues identify elements in a driver when the driver changes too much

For example: Launch Outlook on your desktop. Notice how there is a "splash loading screen" well the driver I have will look at this executable and wait x seconds before trying to click on the "New Email" button. However when it gets to the page…
0
votes
1 answer

Exception in WinAppDriver calculator example

I'm running Win10 with developer mode enabled, and I started WinAppDriver. In VS 2019 I ran the calculator example but every test fails with an exception. I then tried setting a bunch of breakpoints, but when I run the tests, it never breaks at my…
Jan Huus
  • 63
  • 8
0
votes
2 answers

WinAppDriver for desktop and webapp

I’ve used Selenium for our gui-test and it works. But we have some webapps that when user click on a link, a Word file opens that contains some data and has a small webapp (embedded) in the Word document. That webapp communicates with Word. Is it…
user3624378
  • 417
  • 4
  • 22