automated tests - Running swing with UI being invisible -


i work on swing based application , use jemmy write automated tests application. problem have lot of tests , running them takes lot of time. 1 of bottleneck test brings ui , performs action on ui populating test boxes,dropdowns, clicks button etc. looking way run tests ui invisible test runs if ui there doesn't show on monitor. can guide me whether such thing possible ad if yes how? ankit

this doesn't work out of box - swing needs actual graphics device render to.

however, may able set using virtual graphics driver or framebuffer. instance, under linux used xvfb run swing applications 'headless'.

that being said, not accelerate automated ui tests. if anything, in-memory rendering of virtual framebuffer slower of actual graphics card.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -