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
0 answers

[Appium in windows ]: Run on Azure windows VM remotely got error : Message: An unknown error occurred in the remote end while processing

I've got similar issue that was previously posted in : https://github.com/microsoft/WinAppDriver/issues/147 I'm trying to perform an install on .msi installation via the GUI remotely on azure windows 10 VM. I've tried all the solutions from the post…
0
votes
0 answers

WinAppDriver do not kill program process?

I am running UITest from my local Visual Studio 2022 against a remote server that have MyApp and WinAppDriver.exe installed. By running these lines on the UITest MyApp starts up and the closes : DesiredCapabilities appCapabilities = new…
Banshee
  • 15,376
  • 38
  • 128
  • 219
0
votes
1 answer

RemoteWebElement.SendKeys works on computer 1 but not computer 2?

We have a .NET 6.0 UITest solution that we run in Visual Studio 2022. It starts a WinForm application and tries to set username and password. It does activate and place caret in the boxes and SendKey do work on computer 1 but not computer 2? I have…
Banshee
  • 15,376
  • 38
  • 128
  • 219
0
votes
1 answer

Using JavaScript in a NodeJS environment, can you find a window handle value of a running application?

I'm writing some tests for my React-Native application (using JS) in a NodeJS environment. In one scenario, I need to attach to an already-running Windows application. In order to attach to this Application, I need to know the NativeWindowHandle…
lakers5824
  • 345
  • 1
  • 2
  • 10
0
votes
2 answers

Appium WebDriver WinAppDriver Error - Defined in 'WebDriver', but it could not be found Error

I'm currently trying to run the following code in order to automate Windows desktop apps with WinAppDriver in C#. Whenever I enter the following code WindowsDriver _driver; I get multiple errors show up in my error list, they are all…
0
votes
0 answers

Is it possible to manage long-term project for automation testing Win and OSX apps?

My current goal is to define a way, how to implement automation testing for Windows and MacOS desktop apps. I would prefer create a Appium-based project (based on my experience) and just handle my project from two OS's. But it seems irrational…
0
votes
0 answers

How can I automate an application with .application extension with Winappdriver and python?

I am automating a login with python and winappdriver. The versions I am using are: Appium-Python-Client 0.24 selenium 3.14.0 Windows Application Driver 1.2.99 My code is the following: import time, os from selenium import webdriver from…
0
votes
0 answers

Faild to run desktop Automaition with winapp driver : FAILED CONFIGURATION

I try to run an automation on notepad file on windows via winnap driver. and I get : "FAILED CONFIGURATION: @BeforeMethod setUp org.openqa.selenium.WebDriverException: Connection refused: no further information" What is can be ? JAVA : package…
yakov sachuk
  • 145
  • 1
  • 11
0
votes
1 answer

How to assert that a label is not displayed using WinAppDriver

I am trying to create a method the returns False when a specific label is not found. However, the method continues to return True and my test is failing. public bool DeliveredDisplayed() { Boolean labelDisplayed =…
0
votes
1 answer

How to switch to an already running application using WinAppDriver (Python)

I want to switch between MS Store and Chrome browser. how to switch applications using WinAppDriver? I was looking into https://github.com/microsoft/WinAppDriver/issues/534, found a few suggestions in C# but unfortunately they are not working with…
Md Sajid
  • 131
  • 1
  • 1
  • 13
0
votes
2 answers

WinAppDriver in Azure devops pipeline to test applications

In the company I am working I was given the Task to design a system to automatically test Windows Applications. My approach: Testproject written in c# and using the WindowsDriver from Appium Using SpecFlow to write Feature files (test cases) An…
0brine
  • 450
  • 5
  • 18
0
votes
2 answers

How to Create a Test Project for Winappdriver with C#

I need to learn about how to set-up a winappdriver windows app test project in visual studio and inspecting the elements for a medium size windows application.
0
votes
1 answer

Is it possible to run a test from local to remote (RDP) by Java winAppDriver

I have learnt about running automation by Java with winAppDriver. I have some pc (WIN 10) that works with RDP, and from some constraints we cannot install nothing on the RDP. So we want to run the testing from the local for doing automation on the…
lingar
  • 477
  • 1
  • 7
  • 25
0
votes
2 answers

WinAppDriver & Python error: AttributeError: 'dict' object has no attribute 'click'

I have a mini project that needs to automate tasks on GUI windows app using Python. While trying to find a solution I found WinAppDriver which is Selenium-like. When I try to run the python sample code it's returned this error: "AttributeError:…
Anas H
  • 1
  • 1
0
votes
0 answers

Not recording all controls properly

I am working to record the user activity using WinAppDriver recorder application. There is a specific use case where I need the help... The tab key doesn't work. So basically if I am on user control and I press the tab, then it doesn't give the…