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
1
vote
1 answer

WinAppDriver, Python, How To Select Elements On Popup Window

I am automating UI tests on a Windows 10 application with WinAppDriver in Python and not able to select elements on popup windows. If someone have this working, would you mind sharing your experience? I was able to get this sample code to run…
Jenny Vo
  • 21
  • 3
1
vote
1 answer

WinAppDriver - Windows app is launch with additional login screen and I am unable to switch on the login screen

When I launch my windows application, it is launched with two different screens i.e. one is application and one is login window. By default, it remains on the main application and I am unable to switch to the login window. When I am trying to locate…
1
vote
0 answers

Text is visible in UI of WPF application but WinAppdriver is unable to identify the text

I am trying to automate a windows Application (WPF) using WinAppdriver v1.2.1 and Java. However I am facing an issue now in identifying the Text which is visible in the UI but winappdriver is not able to locate it. (I made sure that the xpath is…
Ayaz
  • 249
  • 1
  • 2
  • 11
1
vote
0 answers

How to handle random popup/alert/error that may appear anywhere and anytime in a windows application using WinAppDriver and Selenium?

I have a scenario where I am testing a Windows based application using WinAppDriver and Selenium TestNG framework. While testing the application, it may throw random alerts/pop-ups/error messages at any point of time. I would like to handle that in…
1
vote
1 answer

Invalid xPath expression when using appium and winappdriver

I'm trying to select an email in my automation code in outlook. I want to select the email by the name but the name contains the send date that I don't know. So I'm trying to find it out after Xpath. Here is how I try to find…
Vlad Mocan
  • 13
  • 4
1
vote
1 answer

WinAppDriver/WebDriver screenshot - How to take screenshot of only one desktop(primary monitor)?

I'm trying to take a full-screen screenshot using WinAppDriver. Since WinAppDriver comes from WebDriver, I created a Desktop session like this: var options = new AppiumOptions(); options.AddAdditionalCapability("app", "Root"); …
1
vote
0 answers

PageFactory using Appium to test Windows desktop app

I am used to test Android and IOS in Appium, but now doing some Windows PC application automation, and want to use the same design pattern as in mobile apps - Page Object. For each element in my app I have automationId value, and I am trying to…
Yogev Abr
  • 11
  • 1
1
vote
1 answer

WinAppDriver based automation stops working on windows 10 VM when I close the RDP connection

I am doing all the work remotely on my Windows 10 Virtual Machine (Via RDP). Whenever I am logged in to the server, I can see my automation running fine but when I close my RDP connection, the WinAppDriver can't find the elements on the desktop…
1
vote
1 answer

UI Tests with Appium and Visual Studios dont gets the Button

I´m triing to install Appium using the WinAppDriver and Visual Studios on my PC. The first Tests are working, but now i´ve got a problem. The tested Program works like this: There is a window opening with a Button, called btnStart. After klicking…
S Kirchner
  • 123
  • 12
1
vote
0 answers

Winappdriver needs to be restarted for ms:waitForAppLaunch capability to work

I am automating UWP using WinAppdriver. Some fields in the application are taking time to initialize. If i try to find to those elements after app launch, they are not available. Used ms:waitForAppLaunch=50 capability of winappdriver to solve the…
Revathi
  • 11
  • 2
1
vote
0 answers

How to find DevExpress Grid Cell Active Editor element in WinAppDriver

I am using WinApp Driver to test windows forms application that has DevExpress grid. When I click one of the cells it brings up active editor which contains more controls. I can identify active editor or controls within it using Recorder. However i…
Yhlas
  • 411
  • 3
  • 5
  • 17
1
vote
1 answer

Image comparison and visual testing for Windows desktop application and C# with the usage of WinAPppDriver

Please help in choosing a tool for testing watermark/image overlay. The transparency can be 0%, it should not be a problem. The application under test is a WPF desktop application on Windows, the autotests are written in Winappdriver + C#, now it…
Tatiana
  • 381
  • 4
  • 18
1
vote
1 answer

Can't inspect Grids/StackPanels/Custom Controls in WinAppDriver & locate them by AccessibilityId with Appium

My UWP app shows very limited part of the elements when inspected (neither with inspector.exe nor with Appium Client's Inspector). As a consequence, trying to locate them with Appium's FindElementByAccessibilityId results with…
GeorgiG
  • 1,018
  • 1
  • 13
  • 29
1
vote
1 answer

Dynamic wait in winapp driver

I am using winapp-driver with python for to connect wirelless ssid in windows client. There i am using implicit and explicit wait but both are not working. Seems driver is running on default timeout even if implicit wait is set to 5 sec def…
Dcode
  • 223
  • 1
  • 14
1
vote
1 answer

Pie Chart is not viewing in the HTML reports after converting from .trx with tool TRXER

I have converted the .trx file to HTML reports but pie chart is not showing on html reports. I have Chrome 79+ version. I created html reports after using this StackOverflowLink In above link, it is mentioned that pie chart is viewed only when we…
Neh18
  • 152
  • 1
  • 12