For questions about the Open Source Windows store apps testing framework
Questions tagged [winium]
73 questions
0
votes
0 answers
winium with notepad "alt + f" not working in python code
Someone help me to fix hotkey combination of "alt + n" and "alt + f" after launching notepad in windows 10 with scale 100%
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
from…

arunrona
- 1
- 1
0
votes
1 answer
Unable to load the WebDriver DLL via PowerShell
I'm trying to use the WebDriver DLL via PowerShell. I keep getting the following Exception everytime:
format-default : The following exception occurred while retrieving members: "Could not load file or
assembly 'WebDriver, Version=2.48.0.0,…

rne18145
- 1
- 1
0
votes
1 answer
JavaScript implementation of winium for windows application automation
I need to write windows app automation script using winium with JavaScript. I've done this using Java as lots of help and material is available for references. But I need to do the same in JavaScript and I don't know the equivalent APIs of winium in…

Maddy
- 29
- 6
0
votes
0 answers
how can I run an exe with run as administrator in selenium webdriver?
I'm using winium driver to automate my desktop base application, and there is a scenario where I want to run my application as run as administrator. which I'm not able to perform.

Chetan
- 1
- 1
0
votes
2 answers
How to locate XPATH for a desktop application
How can I locate XPath for an element in desktop application
I am using Inspect tool to get the Name of an element. How do I create an Xpath from the Inspect tool? Can I use LegacyIAccessible.ChildId in the XPath to locate the location of the…

tester
- 3
- 1
- 3
0
votes
0 answers
I am unable to forward system date to a date I have chosen
Hi I am trying to change the date and time settings for my machine to a date in the future. however this is causing it to just increase by a day and cause a long delay from running my tests
- I have tried seeing if there was a registry entry I could…

Jnewbie
- 1
- 2
0
votes
0 answers
How copy, paste, delete files or documents with Winium Desktop c#
I´m using Winium Desktop to create a little bot, It opens programs correctly, but I need to handle files too, copy them to a specific path in the local machine and read an Excel file (they have .pdf and .xlsx extension). How could I do it? (sorry…
0
votes
1 answer
Main thread exception
I am automating desktop application using Winium. I am trying to launch winium desktop server using script. Whenever I try to do that I am getting below exception
Note: If I launch the desktop server manually I am not getting any errors
exception in…

Pradheep Raaj
- 1
- 2
0
votes
1 answer
How to do JUnit test from only one GUI?
I wrote some JUnit test cases at Winium which is nearly same as Selenium for Calculator. My problem is with every test a new calculator.exe is started but I want to do all the test for the same calculator.exe but I also want to seperate the JUnit…

erkevarol
- 57
- 2
- 11
0
votes
1 answer
Confirm an element no longer exists using complete non-XPath path before continuing
I'm doing some desktop application testing using Winium with Python. For my application, I'm first confirming the progress bar appears on the windows with some other text. I'm then confirming the progress bar no longer exists before continuing…

rwbyrd
- 416
- 5
- 24
0
votes
0 answers
Unable to Select a Row on a List/Table Object for Desktop App Testing Using Winium for Python
I'm using Winium with Python to automate a desktop application and came across a portion of my GUI I'm having issues automating.
In the process of creating a configuration, the user will have a window where they select the type of protocol to…

rwbyrd
- 416
- 5
- 24
0
votes
1 answer
Set timeout for WiniumDriver in Winium
I'm working on a Winium project in the Java flavour.
How do I set the default timeout? The default one is really long.
Thank you

Zoette
- 1,241
- 2
- 18
- 49
0
votes
1 answer
Unable to find a pane inside a pane through winium.desktop.driver. Unable to identify elements inside the pane
Issue – Unable to find a pane inside a pane through winium.desktop.driver. Hence, unable to identify elements inside the pane.
Below are some of the details which may help.
I am using Selenium Java binding.
Application is a desktop application…

chopra1203
- 1
- 2
0
votes
2 answers
OneTimesetup is getting invoked for each Test,I thought OneTimesetup is like BeforeSuite,TestNG annotation
In Nunit C# Im trying to open the application only once and make modification to it, for example i created this demo of Notepad application. In my real time project,i just have to log in to the application just once and execute all 100 test cases…

Im Nobody
- 43
- 1
- 9
0
votes
1 answer
How to initialize winium in ruby?
I am trying to automate desktop application using winium. I am not sure how to initialize the object of winium driver and where to place the driver.

Jagan
- 79
- 3