http://www.openqa.org/ - this site has many frameworks mentinoned . Selenium , Watir is main
This Wiki link has all testing frame works in the world
http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#Java
Cactus show no new development after 2007 , JunitEE is next seems
-----------------
TestNG documentation
TestNG 5.6 and Junit 4.4 : which framework you will choose for unit testing? -- Published February 29, 2008 Java
http://lijinjoseji.wordpress.com/2008/02/29/testng-56-and-junit-44-which-framework-you-will-choose-for-unit-testing/
- asr note: this blog author LiJin is in India ( see about Linkedin profile , he can be good consultant in India for Spring , TestNG related issues )
Next Generation Java Testing: TestNG and Advanced Concepts - amazon book reviews - TestNG creator ( and author of this book )is Google engineer
- on his blog he says this: Keep in mind that functional tests are the only tests that really matter to your users. Unit tests are just a convenience for you, the developer. A luxury. If you have time to write unit tests, great: they will save you time down the road when you need to track bugs. But if you don't, make sure that your functional tests cover what your users expect from your product.
- asr note: this supports my point focus more on functional test covering every case and have data to support it. In case of REI page after REI submit you can have WatiJ get emailaddress from web page and query DB to get 'confirmation code' and feed it to go to next page .
They even go into Spring's test mechanisms, and do a good job with it.
------------------------------
Watij - Web Application Testing in Java
Watij (pronounced wattage) stands for Web Application Testing in Java. Watij is a pure Java API created to allow for the automation of web applications. Based on the simplicity of Watir and enhanced by the power of Java, Watij automates functional testing of web applications through a real browser. Currently Watij supports automating Internet Explorer on Windows only. Future plans are in place to support others like Mozilla .
Watij is a Java API that provides control and automation of Internet Explorer in order to test web applications. It was created out of the need to have a reliable, easy to use, and robust web application testing tool using Java as the scripting language. But why Java?
With Java at your fingertips you have access to a tremendous amount of existing libraries and tools. This means in your test scripts you are not restricted to testing only web applications. For example with Java you can write a test that calls a web service to do some processing and in the same test bring up your web application using Watij and validate that everything is correct. And if your web application is developed in Java, Watij integrates nicely into your already existing environment.
With Watij you can imitate real user interaction with your web application. Simple user actions like navigating, clicking links, filling out forms, and validating content are a breeze with Watij. Watij also makes it easy to handle more complex actions like file downloading and uploading, popup windows and dialogs, and screen captures.
Finding HTML elements on a page can be a cumbersome task using the traditional DOM. To make this easier Watij includes a powerful element finding capability that allows your scripts to find, access, and control any HTML element on the page. It even supports XPath expressions that are lightning fast.
Watij is a standalone Java API that purposely doesn’t force you into using a proprietary testing framework or IDE. Two of the most popular Java testing frameworks are JUnit and TestNG, and Watij integrates seamlessly with either one. Watij is just like any other Java library, so it’s very is easy to import into your favorite Java IDE like Eclipse or IntelliJ. And even though its main use is in testing web applications, because it is a standalone Java API Watij is not limited to the testing paradigm.
See Watij new relesae with Eclipse support
_______________________________________________________________
Selenium used at auction gaint
Selenium is a test tool for web applications. Selenium tests run directly in a browser, just as real users do. And they run in Internet Explorer, Mozilla and Firefox on Windows, Linux, and Macintosh. No other test tool covers such a wide array of platforms.
http://technology.amis.nl/blog/?p=1077
http://www.openqa.org/selenium-ide/
http://www.openqa.org/selenium-ide/
Thursday, March 20, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment