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

Appium Inspector Specify either app or appTopLevelWindow to create a session

{ "platformName": "windows", "appium:automationName": "windows", "appium:appTopLevelWindow": "2f0c10" } This doesn't work with described error. But the same works on C# I don't have app package or Id, only location of exe and this…
Eugenia A
  • 46
  • 1
  • 6
0
votes
0 answers

Can WinAppDriver work with desktop applications that aren't windows native?

I'm looking into automation testing for an AutoCAD-like program for desktops. I went through a tutorial and got a script working for the calculator app, but I'm unable to find & locate elements in other applications that aren't native to Windows 10.…
0
votes
1 answer

How to validate greyed out tab on windows app via selenium C#?

I'm working on MSTest framework where the window based app is automated using selenium with .net C#. I have a scenario to automate where all the options (tab, text or button etc) present on windows app are greyed out. So, when a user try to click on…
0
votes
1 answer

taskschd test issue: OpenQA.Selenium.WebDriverException : Failed to locate opened application window with appId: C:\\WINDOWS\\System32\\taskschd.msc

I am trying to make an automated test using C#/NUnit/WinAppDriver where I open the Task Scheduler and find a specific folder in the Task Scheduler Library. When I run the test, Task Scheduler opens, but then I get the following…
ronoldo
  • 11
  • 3
0
votes
0 answers

Winappdriver-python how can I switch and access another window

I use winappdriver with python to automate my windows application. The application opens a sub-window that i need to access/validate. I tried some ways but could not get it working. Another scenario is the application opens a windows file-save…
0
votes
1 answer

How to switch focus from WinAppDriver to IWebDriver?

I am working on Desktop application using WinAppDriver and Selenium C#. There are couple of links on the application. If we click on the link, it will redirect to default browser. How I can switch focus from WinAppDriver to IWebDriver ? How to…
Kiran
  • 1
  • 2
0
votes
1 answer

Maximizing desktop window with winappdriver doesn't work correctly

I am trying to maximize the desktop application window. The Maximize() function has worked so far, but recently windows have started going fullscreen, obscuring the taskbar. I have tried to replicate this bug manually but with no success. It only…
0
votes
1 answer

How to Scroll on a Windows app using Appium and WebDriverIO?

I'm running some test automation on a Windows application with Appium and WebDriverIO. I need to scroll in a certain part of my application, but can't figure out how to do it. I've tried leveraging WebDriverIO's scrollIntoView() method, but I'm…
0
votes
1 answer

Java: WinAppDriver. The requested operation requires elevation

I'm trying to open the Windows Application Driver directly in my Java program, as it is, it works with every other program, but with Admin only ones it doesn't get the permission to run it. I've looked up online but any of those solutions doesn't…
0
votes
1 answer

ImplicitWait isn't working C# Appium WinAppDriver

I have the following ImplicitWait, but it's being ignored. Despite setting it to 60 seconds, when I run my code it immediately fails on the following line, without waiting. Why is this?
cw84
  • 2,111
  • 5
  • 24
  • 37
0
votes
1 answer

Error when attempting .Click() - 'An element command could not be completed because the element is not pointer- or keyboard interactable'

I am new to automation using Appium for a C# Desktop application. I have a Username text control on screen which has an Automation Id set on it. When I attempt to click on the username field I receive the error: 'An element command could not be…
cw84
  • 2,111
  • 5
  • 24
  • 37
0
votes
1 answer

How to select dropdown item(combobox) using winappdriver

I am automating desktop application using win app driver. I need to select a value from list of dropdown options. I am able to click on the dropdown but not able to select the drop down item based on the name. I tried implementing using windows…
siri
  • 81
  • 2
  • 9
0
votes
1 answer

Is there any solution to find element by isOffScreen property from inspect.exe?

inspect.exe Hi guys, may I know any way to access this "isOffscreen" element from inspect.exe. Because I only found the driver support accessibilityId or others elements but without isOffscreen. Because now my UI have two similar button automation…
becky
  • 19
  • 2
0
votes
1 answer

WinAppDriver: Is it possible to create By instance of AccessibilityId (Automation ID)

I am new with the WinAppDriver tool and not clear about how to create By instance AccessibilityId (Automation ID) as there is not straight forward option to achieve this.
Ramandeep
  • 45
  • 6
0
votes
1 answer

winappdriver get Data from System.Data.DataRowView

I am writing an UI Test for a Windows Forms application, up untill now I was able to extract the nessesary information for the Tests with the Windows Kit inspect tool The Inspector Tool now my problem is, I got the following list, but I cant get…
0brine
  • 450
  • 5
  • 18