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

TFS automated test add artifact - source

I have a whole Visual Studio project full of Window Application Driver automated tests. They work, they launch the application from it's executable in windows 10, login and test things... I want to link these Test Methods (within ordered tests in my…
Ewan
  • 541
  • 8
  • 23
0
votes
2 answers

How to find an element via winappdriver and inspect tool that has the same names except the coordinates on screen?

I am using the inspect tool and WinAppDriver and can't find an element among other elements inside application. The only different between all elements is the coordinates upon screen (this is the only different between each button). Can I find the…
0
votes
1 answer

How to inspect windows application using Appium

Is it possible to inspect a Windows application using Appium? If yes can someone show me what "Desired Capability" shall be set to launch for example notepad? What I have done is: Installed/Started Appium Launched server on 0.0.0.0:4723 Clicked on…
Stefano
  • 3,981
  • 8
  • 36
  • 66
0
votes
1 answer

How to launch application under test for every test case without creating the new session for winappdriver

I am automating a windows application in Java using winappdriver where I have three test cases and each test needs to launch the application. I am using below code to initialize the driver and launch the application. DesiredCapabilities capabilities…
Prabhat
  • 33
  • 9
0
votes
1 answer

Element trying to be found before wait kicks in and fails

I am building some tests for a desktop application using the win app driver. Everything is fine but can't use the page factory model I've used before in web applications. The problem is if an element hasn't finished loading then any kind of wait…
alex
  • 135
  • 3
  • 17
0
votes
0 answers

findElementByAccessibilityid is not shown in eclipse intellisense

I am trying to do a POC for a windows app using winappdriver . I have the winappdriver version 1.1 installed up and running. I want to find the elements by using their automationId. As per winappdriver documentation, elements with AutiomationID can…
Prabhat
  • 33
  • 9
0
votes
1 answer

How to create a session for Run Dialog in Appium?

By using powershell command I can get the run dialog program id, which is Microsoft.Windows.Shell.RunDialog. However, I can't get this working with the code below. Any idea? DesiredCapabilities desktopCapabilities = new…
Jason
  • 1,680
  • 3
  • 13
  • 16
0
votes
3 answers

How to launch my application through winappdriver?

I am new to the WinAppDriver Windows Based Automation. Kindly help me to launch my windows application through winappdriver. String applicationPath = System.getProperty("user.dir")+"/Data/TestData/StudioSetup.exe"; DesiredCapabilities capabilities =…
Rachit Jain
  • 103
  • 2
  • 11
0
votes
1 answer

How to switch from a desktop app view to a webview and back again?

I get up to a certain point in a desktop app that I'm automating and I need to click a link and continue automating in a browser. The link automatically goes to internet explorer.(suggestions on how to copy and paste that into chrome would be…
Jackson
  • 51
  • 9
0
votes
2 answers

How do I click a menu item from the application menu using Appium and Python on Windows?

I am working on automating UI-tests for an application and have trouble with menu items on Windows. Fwiw, I have it working on Mac for the sister-application. I am using Appium from Python. I can find the menu tree using Inspect.exe, click the…
Lars Hammer
  • 11
  • 1
  • 3
0
votes
1 answer

WinAppDriver - identifying Value.Value property using xpath

So for our application, there are several places where we are missing automation IDs and just good unique identifiers in general. In one particular case the only good identifier that I can use is a Value.Value property identified by the Inspect…
Tree55Topz
  • 1,102
  • 4
  • 20
  • 51
0
votes
1 answer

WinAppDriver: Unable to connect to the remote server in Local Session

I am attempting to use WinAppDriver to test a classic Windows form control application on a local PC. This test is to run all on the same PC executing the code, not remotely. However, when attempting to launch the application with WinAppDriver, the…
ORNS
  • 107
  • 8
0
votes
1 answer

WinAppDriver - How to set up session in VB.NET for testing Classic Windows Application

Since Microsoft has said that Visual Studio 2019 is the last to include Coded UI, I am trying to move our Windows Desktop Application automation solution their recommended replacement, WinAppDriver. I am having trouble getting the session going with…
ORNS
  • 107
  • 8
0
votes
1 answer

right click on application in system tray using winapp driver

I am trying to automate a right click on antivirus icon in the system tray but been out of luck with it. Is there a different way to implement it. the code that i am trying is given below require 'selenium-webdriver' def caps { …
nova_rubo
  • 49
  • 1
  • 7
0
votes
1 answer

Windows Application Driver handle windows explorer window

I'm trying to automate a windows desktop application and everything is fine until in one of the steps in my application, I have to click on a "Browse" buttom that opens a windows explorer window to select an image and load it. The thing is that I do…
JaviC
  • 1
  • 3