I work on a swing based application and we use jemmy to write automated tests for the application. The problem is that we have a lot of tests and running them takes a lot of time. One of the bottleneck is that the test brings up the UI and then performs action on the UI like populating test boxes,dropdowns, clicks button etc. What I am looking for is a way to run the tests so that the UI is invisible so that the test runs as if the UI is there but it doesn't show up on the monitor. Can someone guide me as to whether such a thing is even possible ad if yes how? Thanks Ankit
Running swing with UI being invisible
140 Views Asked by Ankit Ghildiyal At
1
There are 1 best solutions below
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 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 HIDDEN
- Adding an invisible watermarks to SVG in C#?
- How to keep a CSS 'tool-tip' div from going off screen to the right
- Cascading Dropdowns in Excel using Apache POI - #Name Error Issue
- How to remove unseen style element from html tag
- Microsoft Teams Channel is getting hidden when created using Graph API
- How to hide an item in a LazyColumn in Android Compose
- how to change the hidden size? "Expected hidden size (1, 512, 64), got [1, 128, 64]"
- Why should an ol element's overflow attribute be hidden, to expand it as much as possible in the x-axis direction
- Hidden state in Flutter Applifecycle
- Change hidden input value
- Lack of text in menus and software in Debian
- Is there a way to display: none; all but one element using if statement?
- to get the hidden folder in sharepoint using powershell pnp
- How to remove symbols directly from a dynamic library binary(.so)?
- Hide empty option value with css on mobile and tablet devices
Related Questions in JEMMY
- MongoDb Ubuntu 22.04 AMD X64 failed core=dumped status=ILL
- Jemmy FX test not working when GUI is minimized or system locked
- Launching .exe with Jemmy
- How do I pass arguments to Main Application Class using Jemmy in JRuby?
- TestNg cannot proceed to next test method when one Jemmy test is completed
- Can't select JCheckBoxMenuItem, components in context not recognized
- Cannot Build JemmyFX
- Is there any maximum limit for ActionProducer.MaxActionTime in Jemmy lib?
- Running swing with UI being invisible
- How to use Container in find operation in Jemmy library?
- How to get colour, font of java table row/cell/text with Jemmy?
- Jemmy strucked at clickMouse() when notification dialog with progressbar are displayed
- Jemmy: call JButtonOperator.pushNoBlock()
- ClassNotFoundException with Jemmy Examples
- How to use JemmyFX from Jython?
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 # Hahtags
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?
This doesn't work out of the box - Swing needs an actual graphics device to render to.
However, you may be able to set this up using a virtual graphics driver or framebuffer. For instance, under Linux we used Xvfb successfully to run Swing applications 'headless'.
That being said, this does not accelerate automated UI tests. If anything, the in-memory rendering of a virtual framebuffer is slower than that of an actual graphics card.