Automated GUI Testing [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am writing a Java Desktop Application (SWING) using Netbeans IDE 6.9. I want to do automated GUI testing. All I know about testing is JUnit tests which won't apply for my GUI application. Is there a particular testing framework I can use for testing the GUI application, are there good ones out there? Which ones are easy to use (I need to do testing but I don't have a lot of time for that, however, I don't want to ignore that). My application is basically one frame, with three to 4 tabs (not a big one), my tests shouldn't be complicated, so is there a simple framework that will let me test my application fast and in a strong way to find bugs?
Thanks

I recommend the following open source tools (we are using them on our Java Swing applications):
UISpec4J - Non visual testing tool, very good for unit testing/TDD for the GUI application
Abbot - Is good for functional testing. Also have record & playback
You can use both or either one of them
From the commercial tools in my opinion the best is IBM Rational Functional Tester - it supports Java applications very well. However it is expensive and is focused on the record & replay approach which is not very reliable.

You can try "fest".
http://code.google.com/p/fest/

QF-test

Try Selenium or Watij.
Both frameworks open a web-page in browser and manipulate page elements. They can click a page element, enter data to input field, get a text or HTML of a specified element, etc. Watij in addition to that can emulate javascript events directly.

Related

Making a simulation of congestion control in java [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Which java framework is best for making of simulation of TCP's congestion control mechanism. I have started working with java Applets now But some articles on net makes me confused because they say java applets and awt are outdated.
The purpose of Applets is that they run in a browser. They have become largely unpopular, due to requiring the Java plugin installed & many security problems with same.
People have been widely recommended to disable Java plugins to prevent malware exploits using applet/ Java web start technology, so you will find it difficult to get people to see/ or run any applet you did make.
If you want to make a GUI/ graphical program, use Swing (or conceivably JavaFX) rather than AWT. AWT is grossly outdated.
Unless you really need your simulation to run in a browser, just make it a proper standalone application.

Best GUI Toolkit/Framework for Java and Python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I've been write window programs with C# + WPF for a while now. It is very good, has alot of rich elements as of .NET 4.5 but I dont really buy the idea of porting window based programs to other operating system like OS X using mono and others.
I started working on Java and Python, I haven't written any desktop based program with anyone of them yet as there are war of GUI framework/toolkit out there and everyone is just getting religious about things.
I need some clarification hence the following Questions, mind you these questions might be answered before but like I said, Clarifications:
What is the different between GUI toolkit and GUI framework
For Java programming, I see swing is integrated with Netbeans, from my research, people are speaking of qt's Jambi and GTK for java and python, I have no idea about any of these and I want to know, (1) Which do you use and why? (for Java and python), (2) Visual studio do all the magic for WPF and C#, which IDE can do these magic in java and python.
Lastly, I want you all to know that my asking these question is just to know which rich, powerful GUI and cross platform toolkit/framework (Whichever the right term is) is best for java and python with easy learning curve.
Constructive criticism are welcome BUT, I will be glad if there are answers.
JavaFX seems like a poor imitation of WPF.
Still, I have not seen any examples of how much (if at all) support does JavaFX provide for MVVM, which is what makes WPF the best UI Framework in the history of mankind.
from what I've seen, swing is more similar to winforms than anything else, if you come from WPF that will feel like going back to the stone age.
Side Note: java IDEs don't hold a candle compared to Visual Studio.
I know QT is for Java (and Python of course). It is well documented and is used by a lot of people around the world.

GUI builder for web apps [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
What is the best GUI builder for web apps (any language) that can hook into the backend code, in that it is compatible with dynamically generated web pages and can submit Ajax requests?
As a side note, is there such a GUI builder for java based web apps (i.e. Play Framework)
I'm kinda looking for something similar to Interface Builder for Iphone and Android, but for web apps.
For such a task I would recommend Vaadin, which has a beautiful and complete widgetset, with great documentation. Moreover, you can extend, restyle existing widgets or create custom ones.
If you use eclipse you can install a plugin that helps designing UIs - but in my opinion this won't be needed once you get used to the development style ;)
If you like desktop development style, you will love Vaadin. You will only have to code in Java, and the published product will be html+css+js (ajax)+java.
I've worked with this framework and found it very promising, and easy to use - of course it has its learning curve, but once you get used to it, and have a well structured project, you can implement new features easily.
Note that Vaadin is based on GWT, so if can't find an appropriate widget for your app among the many included in the framework, you might find GWT knowledge to come handy.

Recommended open source workflow engine in java for non-business kind scenarios [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
My use case is not to model a business process workflow. I need a simple, easy to use and low learning curve workflow engine where I can model a simple workflow. I have a bunch of backend processes and each process needs to wait for the completion of previous process and also look at its status.
I see a whole bunch here but can't decide which one to use!
http://java-source.net/open-source/workflow-engines
thanks
You can use WSO2 Carbon Studio to model the workflow using the BPEL editor, then deploy the artefact in WSO2 BPS or Apache ODE.
You can use Eclipse Helios with WSO2 Carbon Studio 1.0.14
You can find a tutorial here.
Also this article explains a similar workflow which you have mentioned in the question.
The three most visible/active, in alphabetical order:
http://www.activiti.org/
http://www.bonitasoft.com
http://www.jboss.org/jbpm
I'd suggest going through the tutorial/quickstart of each of them to get acquainted.
Check out WSO2 Products
(source: wso2.org)
http://wso2.org/library/brs
http://wso2.org/library/bps
Imixs Workflow is an open source Java Enterprise workflow engine.
With the sub project Imixs Workflow Script you have an easy way to start with a workflow application based on JavaScript and jQuery.

Java Charting libraries [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for a good charting library for Java. It can be open source or not and I need it to work in a stand alone client application rather than web-based.
We do have some dynamic charts however which scroll across the screen as data are provided that were done in MS chart and will need to be redone so not sure if JChart will accomplish this in an acceptable manner.
Are there any java charting libraries right in the J2SE API? I've also run across Oracle Chart Builder, but can't seem to find any information on it other than this link: http://download.oracle.com/docs/html/A96127_01/jcb_intro.htm Has anyone ever heard of it before?
JFreeChart is an excellent open source charting library for java.
The samples demo (Java Web Start version or in the distribution) contains a section under Miscellaneous called Dynamic Charts (in addition to lots of others). The source code for the demos is available via the official documentation (the purchase of which supports the project).
http://www.jfree.org/jfreechart/ - I used it for small project. Rendering dynamic data was quite complex but possible.
It's open source but you probably will have to pay for doc if you would like to do something serious.

Categories