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 best solutions below
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
- Add image to JCheckBoxMenuItem
- Java catch the ball Game
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- JTable Printing. How to set page breaks programmatically?
- Arraylist and JTextArea Display issue
- Removing flashiness/ shakiness from scrolling text
- Calculate the sum of a last column values and put it on TextField?
- Efficiently design method to construct a Java GUI?
- Java Swing: JLabel´s Text / Font shown incompletely
- Get error in Swing java - IllegalArgumentException
- timer in Jframe restart
- Dont see anything inside my jframe
- Resizing imaget to scale off the panel it is in/ label
- Components won't show up on JFrame
- Can't create a menu in swing, what's wrong?
Related Questions in AUTOMATION
- Installing Teamcity build agent as a user: failed to install the service. selected account does not have enough rights
- Automating Telnet Scripts from .bat with a teamspeak instance
- schedule and automate sqoop import/export tasks
- Dynamic @Test generation in TestNG
- detecting a file downloaded in selenium java
- Can I automate auto-app installation on my Android device?
- C# Program automation - Program hangs/doesn't work
- Saving Excel workbook as PDF gives me an OLE error 800A03EC
- Appium-How to send SMS for login verification purpose during automation test
- How to maximize browser window with helium using Java?
- Appium iOS automation using Java : get element using accessibility Id?
- Looking to run automated jobs in .NET application
- How to click the back navigation button of the browser using helium?
- Firefox automatically choose certificate, without ui dialog
- Test class not found in selected project
Related Questions in AUTOMATED-TESTS
- How to automate UI interaction during acceptance test run
- Teststack.white cannot find Toolstrip item
- Unexcepted failed Gavel/Dredd test
- Keyword 'AppiumLibrary.Open Application' expected 1 to 2 non-keyword arguments
- How to set test case fail and pass messages in Casper js?
- Wait until scrollbar fades when using UI Automator
- Teststack.White Drag and Drop Problems
- list of test step results in groovy script
- Is there a before() function in Protractor?
- Different behaviour of compiler when called in script by LaunchControl
- Karma not recognizing jQuery
- How to perform datadriven approach using coded ui VSTS 2013
- Multiple Scope value in Binding (Specflow)
- python run function in external module containing doctest.testmod()
- How to use loop in nightwatch.js
Related Questions in WINIUM
- Control + click operation is failing with winium driver
- WebDriverException: 'css selector' is not valid or implemented searching strategy error in automation of windows application using Winium
- Is it possible to automate a desktop app with winium using Python?
- How to initialize winium in ruby?
- Winium driver throws error while trying to quit
- OneTimesetup is getting invoked for each Test,I thought OneTimesetup is like BeforeSuite,TestNG annotation
- Changing "Confirm before tagging" setting in Acrobat Reader via Registry
- “Exception in thread "main" java.lang.NoSuchMethodError: org.openqa.selenium.remote.HttpCommandExecutor.<init>(Ljava/util/Map;Ljava/net/URL;)V ”?
- How can I run a UWP WebApp with selenium and appium?
- Windows switching issue through Winium
- Winium C# - Retrieving 'Next' attribute is null using GetAttribute('Next')
- DeprecationWarning: desired_capabilities has been deprecated, please pass in an Options object with options kwarg
- Winium Automation- How to press Enter or Escape on keyboard using Winium with java?
- Closing a Winium from a thread with Ruby
- Winium is unable to find JavaFX element
Related Questions in UI-SPY
- UI SPY unable to detect the Chrome Address and Search Bar?
- How to get the Activities url from the newest version of the Chrome browser
- Does UI Spy produce a log file?
- UISpy and UIA Verify showing different property values on the same program
- UIAutomation AutomationElement force refresh .current and all descendants
- How do I show ItemStatus in UI Spy?
- How to access elements that UI Spy doesn't see to automate a win32 application with C#
- UI Automation of CefSharp window not possible
- TestStack/White API
- Uispy Return's Value as "?"
- UI Automation Verify v/s UISpy - The way they find UI elements
- How to locate Automation Ids (winium automation) in Chrome legacy window of a desktop application
- .NET - Protecting the Flowdocument from the System.Windows.Automation
- Difference between CodedUI and UISpy
- Detect when Nuance Dragon is invoked
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)
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?
You have to do a bit research for testing swing application.
Winium is not one of them.
Supported Platforms
Try with
AssertJ
Sikuli