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

Unable to pass values using SendKeys() while automating desktop application using WinAppDriver?

How can I send Data in desktop application if sendKeys() is not working fine but element is visible and on for the same xpath click action is working fine, but unable to send data.can anyone please help me on…
0
votes
1 answer

Appium WinAppDriver find element by accessibility

Using Apppium WinAppDriver to automate my Windows application tests. All working fine, versions: Selenium 3.14.0 Appium-python-client 2.0.0 My problem is that i have some resources which can not be located using find_element(By.NAME,"name")…
user2913139
  • 557
  • 2
  • 5
  • 13
0
votes
1 answer

Automating WPF application

How can we automate wpf application because in my organization I am using the application which opens through the link which we paste in the browser we don't have EXE file for that so it's getting very tedious task to automate that using selenium,…
0
votes
1 answer

winappdriver based java selenium automation stops working after some time

I want to run a java based automation test (using testng) on a windows application 24*7. The code is working fine but after some time the winappdriver responds very slowly and selenium's basic operation like clicking element is taking a lot of time…
0
votes
0 answers

Attaching Selenium WebDriver to a browser opened with WinAppDriver/Appium

I need to open a browser outside of selenium but I would like to hand it over/transfer/attach to that browser winAppDriver opened to a WebDriver/Selenium. I could continue with Appium, but I prefer to use WebDriver in Selenium because of the tools…
ecco88
  • 606
  • 2
  • 7
  • 16
0
votes
0 answers

Issue with Windows based application automation using WinAppDriver

I am checking for an alternative of my automation framework that is built in UFT. I came accross WinAppDriver tool. Looks promising. But currently getting an error when it tries to launch the application under test- {"Status":13,…
0
votes
0 answers

WinAppDriver / Appium = NoSuchElementException

I'm not very good at automation and C# but I'm trying. My problem is that when a new window opens in the program, and I try to define this element (the window itself), for some reason this does not happen. The first part of my test runs…
0
votes
0 answers

Using WinAppDriver to automate TcxVerticalGrid

I'm trying to automate a WinForms application that contains a TcXVerticalGrid control. I'm able to access the control using the FindElementByXPath method, but I cannot figure out how to get access to the rows within the component. The component is…
Tim
  • 101
  • 1
  • 7
0
votes
0 answers

Appium/WinAppDriver in C#: How to minimize the console during program execution?

I am automating a desktop UI using Appium/WinAppDriver with Visual Studio 2022 Pro as the IDE. I am developing my tests using a console app with .NET Core 3.1. When I run my program, the console appears in the middle of the screen, followed by the…
0
votes
1 answer

Drag and Drop not working using WinAppDriver C#

I have a scenario to drag a tree view item and drop it at a data item in data grid. I have tried Action class with element and action with offset and Mouse Move/Down/Up but nothing working. It clicks on the source element but not drag it to the…
TLe
  • 21
  • 3
0
votes
0 answers

WinAppDriver doesnt start my Desktop Application

im creating a console application in C# to open and connect with my Windows Desktop Application, in my computer its working but when i installed it in the cliente idk why doesnt open the application, in some post i saw that if the console…
Fez226
  • 1
0
votes
0 answers

Selenium 4 not compatible with WinAppDriver

I updated Selenium in Visual Studio to the latest version (Selenium 4) and noticed WinAppDriver is not compatible with the latest Selenium throwing errors. Aimed to replace DesiredCapabilities by Options but still getting error on WindowsElement . I…
0
votes
0 answers

Appium Windows Application Testing only finds elements when I have the application under test open before running the test

When I am running my tests with the application closed to start, it can't find any of the elements I'm asserting. When I run it with the windows application open already, it finds the elements. Any idea what I'm doing wrong? As you can see from…
Don Ross
  • 1
  • 1
0
votes
0 answers

My selenium/appium grid url working fine from browser, but when I call from my JAVA code, it is throwing below error

http://automate.southindia.cloudapp.azure.com:4444/wd/hub - this selenium/appium grid url working fine from browser, but when I call from my JAVA code, it is throwing below error. org.openqa.selenium.SessionNotCreatedException: Could not start a new…
Deena P
  • 105
  • 1
  • 2
  • 12
0
votes
0 answers

robotframework test run failure about `Object reference not set to an instance of an object.` or NoSuchWindowException

I am not sure if this is winapp driver or appium server issue. Looking for advise here for the robotframework test run failure about Object reference not set to an instance of an object. TEST TC001-About-Version Full Name: …
user2201789
  • 1,083
  • 2
  • 20
  • 45