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
- I run an EXE program from a Windows Service but I can't see form C#?
- Extract value of a input hidden DOMXpath php
- Inheritance Hidden Method java
- UICollectionViewCell hidden though I never set it hidden
- Java Selenium - Can't seem to select an element
- Sending post PDF data using hidden input
- How to show the hidden application window which hid/minimized by ctrl+h/m on mac
- windows.visible = false preventing use of named range
- Dropdown Menu not showing? White space showing on right side when set to overflow:visible
- header hidden on slider and page scroll visible
- Watin. how to show invinsible class
- SEO - hidden content for slideshow
- jQuery Overflow: Hidden on Parent, Detect if Child is Actually On Visible
- Why (jQuery) Waypoints "bottom-in-view" doesn't work on hidden elements?
- Where is HTML renderer of View Results Tree hidden in Jmeter 2.13
Related Questions in JEMMY
- How to get started with Jemmy v2
- Jemmy drag and drop blocks until mouse manually moved
- Text representation of the content of a TableView
- How to use JemmyFX from Jython?
- How do I pass arguments to Main Application Class using Jemmy in JRuby?
- Jemmy: call JButtonOperator.pushNoBlock()
- JemmmyFX in Event mode
- how do I test app exit with jemmy
- Launching more than one test in jemmy
- Can automated GUI test cases written for project without entry point (without main class)?
- Launching .exe with Jemmy
- TestNg cannot proceed to next test method when one Jemmy test is completed
- How to write Jemmy unit tests?
- jemmy3 status of development
- ClassNotFoundException with Jemmy Examples
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?
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.