Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for a Java API which allows me navigating through HTTP Pages and read the content, just like a Browser. The difficult part of it is that navigation includes performing some actions (e.g. list box selection and submit) and JavaScript interaction (e.g. Yes or No dialog). Is there such API which can be used for this purpose ? Thanks!
If you are willing to diverge a bit from Java and enter the realm of Groovy, you could give a try to Geb and Spock.
Groovy code compiles into Java code and runs into a JRE. Geb is effectively a domain specific language that allows you to model HTML pages with a syntax that is more friendly and intuitive than Selenium. Geb and Spock work well together with can make your life a bit easier. For sure, the is a learning curve, but in the end your tests are much easier to write, read and maintain.
For some learning material you could also have a look at this question.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking for a code analyses framework in Java for Java.
I want to make a plugin for another very good open source project.
All I search for is a framework that reads a java file and returns a model of all objects, functions... used in the java class. (Like Eclipse Outline)
I already googled but, i couldn't find something useful.
What you need is basically just a parser (you do not need code analytics per se, just an intermediary format suitable for your need). Something simple like http://code.google.com/p/javaparser/wiki/UsingThisParser could already fit your need. If you want something a little more complete, take a look at antlr. It is a generic parser but the default implementation is in Java, and the Java grammar written for it is very good (and written by Antlr implementers).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am looking for suggestions on automated testing tools that can be used to test GUI/Frontend of Java Swing based windows applications in automated fashion ?
Fest has a module for functional Swing testing, and it's actively maintained.
windows test case tool is there its eclipse plugin,
Marathon tool is there
I suggest JFCUnit.
Depends on what you want. If you want recording Marathon (http://www.marathontesting.com) might be a good choice. Marathon records scripts in Ruby or Python.
I suggest to take a look at ReTest. It is a innovative tool with a novel approach to functional regression testing, which it combines with ai-based monkey testing.
It is about to become open source as well.
Disclaimer: I am one of the founders of the company behind ReTest.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm interested in finding a concatenative language interpreter in Java. Ideally, it should satisfy the following conditions:
It has an interpreter, not (only) a bytecode compiler for JVM.
The language itself has decent documentation, not only a few examples and a "I'll document the rest someday" notice.
The project is not completely abandoned.
In short, I'm looking for a reasonably "alive" concatenative language that can be embedded into Java easily.
I was looking for something similar today and ran into JKat.
I found JOLIE. It says:
JOLIE is a service-oriented programming language, that you can use to build powerful orchestrators.
An orchestrator is a software application that composes other services in order to obtain new functionalities.
Writing an orchestrator means to deal with the composition of service communications
7th is developed as a java script engine named "7th". There are examples how to interact between 7th and the calling Java™ program. Write Engine engine = Engine.create(); in Your Java program. Execute Your 7th program by sending it to the engine in the way: engine.eval(˂Your 7th program here˃).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there any existing open source CMS in stripes?
I'm especially looking for a very tiny and lightweight one that I can take a look at and learn from.
Unfortunately, I've been unable to find a lightweight CMS in any language.
Java has the JSR 170 Java Content Repository specification, with Jackrabbit being the reference impelementation. Unfortunately, my experience has been that it is neither lightweight nor easy to learn from.
You might try looking at some of the version control systems and filesystems though: their functionality is overlapping and may resemble yours.
Have a look to http://wiki.opensymphony.com/display/ABLE/Home, it use Stripes and other tools.
Is not a pure CMS but a framework for building CRUD applications and auto-generating controllers and scaffolding.
Unless you really have to learn something a little more modern. Stripes is just a better Struts which isnt much. Both are dated and do next to nothing in terms of building something snazzy.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
We've used both JWebUnit and HttpUnit in the past to do functional tests of web applications. Both of them seem to have issues in handling javascript. We are not particularly interested in testing the javascript at this point, but JWebUnit and HttpUnit tests have broken since we added some small Ajax components (Dojo Date / Time pickers for instance) to our pages.
Selenium and Watir do not fit because they essentially drive browsers and we are running these tests from CruiseControl on a box where we are not allowed to install a browser.
Canoo's WebTest is pretty good and can handle what you're looking for.
You want HtmlUnit.
It isn't perfect browser emulation (for that you need a browser driver) but it has significant javascript support. Check out the introduction to testing your JavaScript.
Go with Canoon. Canoon is built upon HtmlUnit, and was previously built upon HttpUnit.
yc
Celerity is a JRuby library for
easy and fast automation of web
application testing. It is a wrapper
around the HtmlUnit Java library and
is aimed at providing the same API and
functionality as Watir.