Replacement for JWebUnit / HttpUnit [closed] - java

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.

Related

Java API to emulate browser [closed]

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.

Web Testing tool for GWT? [closed]

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
I am looking for an open Source Test Automation Tool for an application developed with GWT.
this tool should allow:
Scenarios recording
Maintenance of scenarios (binary files, XML, ..)
The integration into the build tool (Ant)
I know that Selenium do that, but I'm not sure that is the only nor the best tool to use.
If you know others automation test tools, feel free to suggest them to me.
Any help would be appreciated.
Try Selenium 2.
See:
http://www.carfey.com/blog/testing-gwt-apps-with-selenium-or-webdriver/
If you need to Load Test:
GWT load testing with jmeter
Regards
Philippe
Have you tried GWTTestCase? Refer Testing Methodologies Using Google Web Toolkit article on Google Developers better insight.
If you're open to commercial tools then I'd like to recommend Telerik's Test Studio. (Disclosure: I am the evangelist for that tool.)
We do a great job with creating very maintainable recorded tests, plus you've got the ability to dive in to as little or as much code as you need to flesh out your test suite. Test Studio handles load testing too. There's also a command line runner which is a perfect integration point in to Ant or any other build system. (We have our own scheduler, too, if you prefer that.)
Moreover, we do a great job with helping create solid tests in dynamic content situations -- AJAX, e.g.

A tool to test app in different browser version [closed]

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
Our app supports different browser version from IE to Firefox to Chrome.
Now, some issues are encountered in different browsers and I am having a hard time installing all versions in my computer.
I am not familiar with this, but is there such a tool that I could used where I could configure it to act as if it is FF4, FF5 et al... IE7 to IE 8 et al.. Chrome versions et. al.
I was looking on just switching it to different version to test my app
Using a virtual machine(or several) could be useful here.
The best tool for that would be Selenium.
Safari has an option in the Developer menu that allows you to choose which user agent to emulate.
The list of options is pretty long...

What is a good automated test tool to test UI of Java Swing based windows application [closed]

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.

Chosing a right framework [closed]

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
I am planning to develop a web application using GWT, but before that I need to make few clarifications. The web app what I am developing should be compatible with Mobile phone browsers considerable smart phone browsers.
I googled a lot to know this but I did not find supporting or sufficient documentations.
If GWT doesnt support what would be the other framework, which is open source java based framework?
There is no big problem with mobile websites build using GWT, it generates standard javascript + html. There is some libraries that can help you build mobile site, like http://code.google.com/p/gwt-mobile-webkit/. And you can write any widget you wish.
But keep in mind that GWT will generate very heavy target files, sometimes few megabytes long. So if you target audience uses GPRS for accessing your site, it could be problematic for them.
There is also other web-framework, that are GWT based: http://vaadin.com/home.
It have great collection of UI components, and currently authors are extending it to be more mobile friendly.
You could also try a different route with Context Framework. I think it suites better to mobile web developing because it is more lightweight solution. I have made a journey planner (in Finnish) with it and it was tailored especially to touch screen phones. You can find it here.

Categories