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

During the start of java code with appium and winappdriver got invalid argument message

Hello, I'm quite new in automation, so I tried to do some simple example with starting notepad in combination with appium and winappdriver. this is the code wich is used in java(Eclipse IDE) import…
Steam
  • 11
  • 2
0
votes
0 answers

Run C# Nunit tests in ci/cd process in jenkins

I have a c# nunit test project that use winappdriver tool for running and simulates user activities like buttons clicks, send keys on windows desktop application. to run the test with winappdriver it is needed to open an Appium session. what's the…
0
votes
1 answer

Can't start Appium with AppiumServiceBuilder()

I've found other threads on this, but none of the solutions have worked for me. I'm getting the error below when trying to start Appium using AppiumServiceBuilder() Error: OpenQA.Selenium.Appium.Service.Exceptions.InvalidServerInstanceException:…
Chris R.
  • 11
  • 1
0
votes
0 answers

The remote server returned an error: (404) Not Found when running WinAppDriver test in MS Hosted Agent

I am running my test in the Azure Hosted Agent and the automation test is running fine locally. But when I tried to run it in the DevOps pipeline, the test failed with The remote server returned an error: (404) Not Found I made sure that the…
0
votes
0 answers

what's problem? how to use winappdriver in python. calculator automation

I don't know what the hell's wrong. Why doesn't it work? this is error message and when I used to "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App" same problem too ====================================================================== ERROR:…
Yeonwoo Jeong
  • 33
  • 1
  • 6
0
votes
0 answers

How to handle the chrome browser when it is directly opened from desktop application in selenium

I am using winappdriver for automation desktop application and selenium to handle web-browser. I have scenario in desktop application and need to enter the url in input box, it will open the default browser and url sending with dynamic id…
Vincy
  • 1
0
votes
0 answers

How can I do Android studio plugin automation?

I'm trying to automate a plugin in Android studio. An android studio plugin added to the menu section above. I want to run it on all platforms (Windows, Mac and Ubuntu). I used WinAppDriver (Selenium-Java) and inspect.exe but without success.…
0
votes
1 answer

Getting System.ComponentModel.Win32Exception (5): Access is denied on Azure-Release

I am running UI-Automation Test with Appium WinAppDriver using a .bat file. When I run the .bat file manually on the agent everything goes as expected but it produces System.ComponentModel.Win32Exception (5): Access is denied exception when running…
0
votes
0 answers

How to automate desktop application on touchscreen panel from laptop?

1] I am having touchscreen laptop and panel now I want to automate windows application present on panel by running test script on laptop. Current case: HDMI cable connect both laptop and panel but then touch event on panel does not work so I am…
0
votes
0 answers

Stopping Test Run in C# WinAppDriver UI Tests on Test Failure

I'm facing an issue with my solution and need assistance. Specifically, I'm trying to make the VS2022 Test Explorer stop its run when any of the tests fail. I have attempted the following code: public static void TearDown(TestContext context) { …
Lukasz89
  • 13
  • 3
0
votes
0 answers

WinAppDriver code to access the existing application controls

I'm new to winappdriver and writing an automation code using NUnit, Appium and winappdriver in C#. I have a question regarding the situation. There is a running application called "sample.exe" that is currently retrieving live readings from a sensor…
0
votes
0 answers

How to start an app with WinAppDriver as an admin

A Desktop application should be started with admin privileges. How to start it for testing with WinAppDriver? I am doing it with AppiumOptions options = new AppiumOptions(); options.AddAdditionalCapability("app",…
Irene
  • 1
  • 1
0
votes
0 answers

how to distinguish field from combobox using c#, WinAppDriver

currently I am writing an automation test of desktop application and I have a moment where I have to set some parameters using arrow keys but the problem is with different kind of fields. If I have field to provide a text value and I use down arrow…
0
votes
0 answers

Appium Inspector doesn't capture the Windows pop up window

When using Appium + WinAppDriver to write the automation for configurating some Windows settings, we found the Windows pop up window doesn't captured by Appium Inspector on Windows 11 machine. It can be captured on Windows 10 machine. What…
Weiwei
  • 3,674
  • 1
  • 10
  • 13
0
votes
0 answers

How to run MSTest with WinAppDriver from C# code?

I am able to execute MSTest with WinAppDriver from a command line with mstest /testcontainer:C:\Users\...\dev\WinAppDriver\Samples\C#\AlarmClockTest\bin\Debug\AlarmClockTest.dll Now I have to do the same from another UWP application. I am…
Irene
  • 1
  • 1