I am trying to automate java swing application using Winium. To identify properties of elements I have used UISpy.exe and Inspect.exe. But both are failed to identify elements on my swing application. However, both are working when I am trying to identify elements on Windows Notepad application.
How to identify elements on Java swing application?
2k views Asked by AudioBubble At
2
There are 2 answers
0
Navarasu
On
To automate swing ui in Java, Jemmy is the good option.
Even the same one is available as RobotFramework keyword library in the name SwingLibrary.
Related Questions in SWING
- Issue edit a jtable with a pictures
- How to use Layout to create textfields which dont increase in size?
- How do I print a JTable in the form: Image + header + table in a single page (Java Swing)
- GUI window is not appearing
- Java program images not showing up
- Editing non-String values in JComboBox
- Use the same button in different interfaces (JAVA)
- Java Swing Paint Performance
- Frame showing up super small Java Swing
- Remove JTable cell truncation
- setBorderPainted, how to preserve effect on hover
- Subclassing from BasicButtonUI - text is rendered, but no border nor background
- Java paintComponent not display background image on JFrame
- Attempting to place JDIalog on top of current position of a JFrame
- 2 characters stop when other jump or 2 stop when changing the Direction - JAVA
Related Questions in AUTOMATION
- Applescript To Select Sound Output stops at opening Sound Preferences Screen
- I am automating web scraping using python
- Autofill data from previous cell to next cell in openpyxl
- In spotfire, IronPython script: No Module named Selenium
- Python selenium automation browser
- Specflow defination not showing references
- Expect: Any way to match a specific rule only once?
- Automate the update of a pivot table in Excel via Power Automate Web
- Encountering a problem to interact with a weird button which is a combobox (select)
- Unable to Login through Automation(Cypress) to app, while the credentails are true. It allows manual login but unable to login through Cypress
- Selecting an option in the mobile app drop down which is not visible when the app is loaded for the first time
- Unable to launch WebDriverAgent
- How do I automate a video download with Selenium and Python (Meta Quest Store Trailer Download)
- Error: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure
- Trouble uploading with playwright
Related Questions in AUTOMATED-TESTS
- Generating wakeup and Error frame In LIN bus using CAPL script in Canoe tool
- Running Test in Azure failed at Cypress: "The plugins file is missing or invalid"
- Playwright - Firefox tests time out, but Chromium tests don't
- Automation testing for Flutter app in complex environment
- Karate mvn clean test does not work as I partially or totally run my features
- Base image question using playwright when performing visual comparison
- im using xpath and cant interact with the textbox
- I want to generate PDF automation report in XUnit using selenium driver and .net in visual studio?
- Run Robot in Jenkinsfile does not fetch the correct test.robot file from Github
- How to use threadpoolexecutor to run two tests and send the result of one as a parameter to the other in python
- How can I integrate a custom Mocha reporter into my test suite to filter out or ignored specific test cases from the test report based on tags?
- Optimizing Test Scenarios in Robot Framework: Reducing Redundancy and Enhancing Efficiency
- How to inject a QR code image for end-to-end testing a QR code scanning app
- how to log request object in playwright API testing
- throwing a StaleElementReferenceException during dictionary iteration in a for loop
Related Questions in WINIUM
- winium automation: application not responding to winium actions
- Control + click operation is failing with winium driver
- Caused by: java.lang.IllegalArgumentException: Illegal key values seen in w3c capabilities: [app, debugConnectToRunningApp, launchDelay]
- I'm automating a desktop app with Winium and having trouble with handling error messages using `switch_to_alert`
- With desired capabilities is deprecated in Selenium 4, how to automate Windows desktop application using Winium in Python 3?
- WebDriverException: 'css selector' is not valid or implemented searching strategy error in automation of windows application using Winium
- DeprecationWarning: desired_capabilities has been deprecated, please pass in an Options object with options kwarg
- Windows switching issue through Winium
- Is it possible to automate a desktop app with winium using Python?
- Automation of desktop using winium Java
- Changing "Confirm before tagging" setting in Acrobat Reader via Registry
- Winium C# - Retrieving 'Next' attribute is null using GetAttribute('Next')
- Automation testing for Edge Legacy in C#
- implicitWait for WiniumDriver?
- winium with notepad "alt + f" not working in python code
Related Questions in UI-SPY
- access bridge explorer not listing the checkboxes in JMeter window
- UI Automation of CefSharp window not possible
- Access Violation Exception in UISpy / Inspect when checking application controls in Win11 OS
- Winium- Locate elements not having name or automationId for desktop automation
- How to identify elements on Java swing application?
- How to locate Automation Ids (winium automation) in Chrome legacy window of a desktop application
- TestStack/White API
- UI SPY unable to detect the Chrome Address and Search Bar?
- What's the difference of UISpy.exe and Inspect.exe? (From Microsoft Windows SDK)
- Uispy Return's Value as "?"
- .NET - Protecting the Flowdocument from the System.Windows.Automation
- How to access elements that UI Spy doesn't see to automate a win32 application with C#
- How to get the Activities url from the newest version of the Chrome browser
- Detect when Nuance Dragon is invoked
- Difference between CodedUI and UISpy
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You have to do a bit research for testing swing application.
Winium is not one of them.
Supported Platforms
Try with
AssertJ
Sikuli