For questions about the Open Source Windows store apps testing framework
Questions tagged [winium]
73 questions
7
votes
1 answer
Automation for "Chrome Legacy Window" (Chromium) using Winium
I'm trying to automate a Windows application GUI using Winium. The app is using both WPF windows and "Chrome Legacy Window" (Chromium) windows.
I'm using the tool "Automation Spy" to inspect the GUI elements' ids inside the WPF windows to use with…

Idan Gabay
- 121
- 1
- 7
4
votes
1 answer
How to inspect elements in Winium
I have started using Winium automation tool to automate windows apps. I am new to this tool and I am not finding any documentation for solving my doubts.
Following is the basic code that I have refered to start using Winium.
import time
from…

Rohit Gawas
- 267
- 3
- 8
3
votes
0 answers
With desired capabilities is deprecated in Selenium 4, how to automate Windows desktop application using Winium in Python 3?
The following code no longer works in Python Selenium 4 since "desired capabilities" is deprecated.
driver = webdriver.Remote(
command_executor='http://localhost:9999',
desired_capabilities={
"app":…

Sumanth Suvarna
- 51
- 3
3
votes
2 answers
Using Winium (+ Selenium) with python only allows me to open the app, but then won't interact with it?
When I try to run any kind of code using winium, it will open the app, but then won't execute any of the code afterwards. It's not as if it throws up an error, it just hangs there and won't move on.
I Am using Python 3.7 on a Windows 10 PC.
I have…

birdistheword99
- 179
- 1
- 15
2
votes
2 answers
Framework that allows to automate desktop applications
So, I'm a new(ish) QA automation intern at my company. Since I got in, I've been researching different tools and methods of automation. We have a web service that we can automate just fine. The thing is, there is also a windows application that…

jalbr98
- 59
- 2
- 3
2
votes
1 answer
How to run my automation(test) on Jenkins without using the Headless
I'm running my automation with WiniumDriver. When I run on local machine (without headless mode) it works well, but when I run from Jenkins it doesn't work, because I'm using headless mode.
How can I disable the headless option from Jenkins?

CelsoRicardo
- 33
- 1
- 4
2
votes
0 answers
Winium taking more then 5 minutes to identify 1 UI element on a .NET based application
I am working on a project to automate .NET based application from an open source tool called Winium.
While running my script, Winium is taking more then 5 minutes to identify 1 UI element which is not the case when I manually use UI SPY for object…

brij
- 331
- 1
- 5
- 17
2
votes
0 answers
Winium is unable to find JavaFX element
I use UISpy to identify elements of a Windows desktop application. I use AutomationId of element as follows:
WiniumDriver driver = new WiniumDriver(new URL("http://localhost:9999"), option);
driver.findElement(By.id("JavaFX98")).click();
I got…

plaidshirt
- 5,189
- 19
- 91
- 181
1
vote
0 answers
Caused by: java.lang.IllegalArgumentException: Illegal key values seen in w3c capabilities: [app, debugConnectToRunningApp, launchDelay]
I am trying to test window based app using my existing selenium project. I dont want to change anything in the existing code base just want to enable support for window based app so I have added below dependancies in the project but when I am…

SeleniumUser
- 4,065
- 2
- 7
- 30
1
vote
0 answers
I'm automating a desktop app with Winium and having trouble with handling error messages using `switch_to_alert`
The App I'm automating is a driver installer. Sometimes it brings up an error, and I want to check for the error, and only clear it if it appears. I thought I would try putting in a wait.until to wait and see if the error appears, then…

Jamie Bee
- 21
- 2
1
vote
0 answers
DeprecationWarning: desired_capabilities has been deprecated, please pass in an Options object with options kwarg
I'm relatively new to Winium (1.6.0.0) , Selenium (4.1.3) and Python (3.10.2).
I want to automate a simple app like calculator
I implemented some suggested code but it's for an older version of Selenium
from time import sleep
from selenium import…

pylonspidy
- 11
- 1
1
vote
0 answers
Is it possible to automate a desktop app with winium using Python?
I want to automate a Windows desktop app with Winium that is based on Java and is run by .bat file.
When I work with it, there is no 'automation Id' in inspect.exe or UIspy.exe ?!
Is it possible? Are there other automation tools to be able to help…

Parisa Pouya
- 11
- 2
1
vote
0 answers
implicitWait for WiniumDriver?
Is there any way to set wait for winium driver other than thread.sleep(). I tried implicit wait but getting this exception:
"'setTimeout' is not valid or implemented command"
Below is the code snippet:
options = new…

YadavNish
- 11
- 2
1
vote
1 answer
Winium Driver is not starting using Java
I am testing Excel file using winium and TestNg. When I am manually starting winium driver that time the test cases are working properly. When I am trying to start Winium service from java that time it is giving me problem to start the Winium…

Jaydeep Bobade
- 1,005
- 2
- 16
- 25
1
vote
0 answers
How to Access Cells of Excel using Winium?
I have created one software in excel. I am writing test cases for testing purpose of that software.
While automating test cases I am able to click on Menu Tabs of excel. But if I want to paste data in cell of a sheet or want to enter data in a cell…

Jaydeep Bobade
- 1,005
- 2
- 16
- 25