Share

Watij - Web Application Testing in Java

Project News for Watij - Web Application Testing in Java

  • Watij 3.2.1 Patch Released

    Made changes so that Watij will work with jdk 1.5

    2008-01-16 16:57:55 UTC by btknorr

  • Watij 3.2.0 Released!

    This release includes support for IE 7 on Windows XP SP2, several design changes to increase stability and performance, numerous bug fixes, and an upgrade to the latest TeamDev software. See release notes for more details. Enjoy!

    2008-01-10 17:01:38 UTC by btknorr

  • Major Milestone - Watij Release 3.1.0

    We are excited to announce the release of Watij 3.1.0, a major milestone that increases the stability of Watij considerably. This was accomplished mostly through the integration of TeamDev products: jniwrapper, winpack, jexplorer, and comfyj. Special thanks to TeamDev for their support of Watij!

    This release also introduces some major features like support for modeless and modal dialogs, finders (a better alternative to using symbols), chained finders, finder extensions, and table navigation.

    We know the documentation is getting a little stale ;) good news is we plan to make documentation our next highest priority. For now please look at our JUnit tests under src/java-test for guidance and examples of using the new features. And please post any questions to our Google Group at http://groups.google.com/group/watij

    Thank you Watij user community for your feedback, help, and contributions in making this release possible!


    Release 3.1.0 Notes
    *! Important !*
    - Please recopy the jniwrap.dll to your system32 dir.
    - Most of the jars in the lib directory have been upgraded, so you will need to update your environment to use the new jars.

    Design Changes:
    - Upgraded to JExplorer 1.7.4x
    - Changed the way Watij waits until the browser is ready so that the next call will process the wait. This fixes many browser closing and javascript timing issues. However if you are currently timing actions for performance monitoring you will need to call ie.waitUntilReady to get the full duration of the action. You could also stop the timer after the next call to ie or it's elements.

    IE Support:
    - Added support for handling dialogs (alert, confirm, prompt, file download). Please take a look at the PopupsTest for examples on how to use the new api.
    - Added IEUTil.closeAllDialogs which will close all open dialogs on all browsers

    Bug Fixes:
    - Running your tests from Eclipse is no longer an issue.


    Beta 3.0.2 Notes
    *! Important !*
    - With latest version, Eclipse compiler/runtime has a bug and Watij will not run in it. Any other compiler/runtime will work. TeamDev has been notified of the issue.
    - Please recopy the jniwrap.dll to your system32 dir.

    Design Changes:
    - Upgraded to JExplorer 1.6
    - IE class delegates to IESupport which extends BrowserSupport (JExplorer)
    - It's possible to use separate message loops for each browser instance...this is to enable modal dialog support.

    IE Support:
    - Added support for Modal Dialogs (see ModalDialogTest)
    - Added IEUtil.closeAllBrowsers which will close all IE instances
    - Added IEUtil.browserCount which will return the number of open browsers

    Element Support:
    - You can now chain finders together in one call. For example: ie.button(name("button1"),value("Button 1"),index(1)).click(); //this will click the 2nd button on the page with the name "button1" and the vlaue "Button 1"
    - There is a generic attribute and tag finder that will allow one to access any element on the page. For example: ie.htmlElement(tag("MyTag"), attribute("myattr","myvalue")).click(); //this will click the first element on the page that matches <MyTag myattr="myvalue"/>

    Bug fixes
    - Fixed child browser threading issues
    - Fixed browser initialization issues
    - Fixed issue where you have to call close() on child browsers that are closed via javascript


    Beta 3.0.1 Notes

    Design Changes:
    - New system property BROWSER_TIMEOUT can be configured. This property is the amount of time in seconds that watij should wait for a browser to be initialized.
    - Added ability to run single unit test. Example: launchAnt.bat run.single.test -DtestName=watij.NavigateTest
    - Added static import to beanshell.
    - Refactored IEController and IE to single class.
    - Refactored to bind all calls to OLEMessageLoop to increase stability.

    Element Support:
    - Added ability to use "/i" construct as in perl for regular expressions inorder to do case insensitive searches.
    - Added ability to get/set screen mode to full screen or theatre mode.
    - Added ability to get/set top and left position of IE.
    - Added ability to get/set visible state of ie.
    - Added ability to capture only IE window.
    - Added additional waitWhileBusy lines in IE when iWebBrowser2 is being affected for stability.
    - Added additional waitUntilDocComplete lines in various element classes when actions are performed (click, set, dblclick, etc..) for stability.
    - Changed method of minimizing, maximizing, and restoring IE from using sendKeys to using Wnd object.
    - Changed method of closing IE browser to ensure RPC Server Unavilable error is not received.

    Bug Fixes:
    - Fixed bug that prevented use of "/" in regex expression for finders.
    - Fixed typo for firing ONKEYDOWN and ONKEYUP.

    Beta 3.0 Notes

    *! Important !*
    We are releasing a beta of Watij that utilizes our new Java-to-Com bridge ComfyJ. We are no longer using Jacob and Jiffie. During this beta phase we will be updating Watij with api changes, and performance improvements.

    - Please copy jniwrap.dll to your system32 dir.
    - Include the following jars from the lib dir in your classpath: comfyj-2.1.jar, jniwrap-3.1.jar, watijcom.jar, and winpack-3.0.jar.

    Design Changes:
    - Symbol and the symbols package has moved and been renamed to SymbolFactory and the finders package (import static watij.symbols.Symbol.* is now import static watij.finders.SymbolFactory.*)
    - There is a new FinderFactory that contains finders that you can use to find elements. This is an alternative to using symbols and will allow for custom finders. So instead of using ie.button(name,"button1"); you can now do the same with ie.button(name("button1"));
    - You can create your own custom finders by implementing the Finder interface or extending the BaseFinder class. For example: ie.button(new MyButtonFinder()).click();
    - Symbol index is no longer supported, you can use ie.htmlElement(int index) instead

    Element Support:
    - Initial table support (table, tablerow, tablecell, tablebody)
    - Initial support for bahavior tags (e.g. <x:y>)

    Bug Fixes:
    Fixed flash bug on collections

    2006-09-15 17:28:39 UTC by btknorr

  • Watij Release 3.0.2 BETA Available

    Beta 3.0.2 Notes
    *! Important !*
    - With latest version, Eclipse compiler/runtime has a bug and Watij will not run in it. Any other compiler/runtime will work. TeamDev has been notified of the issue.
    - Please recopy the jniwrap.dll to your system32 dir.

    Design Changes:
    - Upgraded to JExplorer 1.6
    - IE class delegates to IESupport which extends BrowserSupport (JExplorer)
    - It's possible to use separate message loops for each browser instance...this is to enable modal dialog support.

    IE Support:
    - Added support for Modal Dialogs (see ModalDialogTest)
    - Added IEUtil.closeAllBrowsers which will close all IE instances
    - Added IEUtil.browserCount which will return the number of open browsers

    Element Support:
    - You can now chain finders together in one call. For example: ie.button(name("button1"),value("Button 1"),index(1)).click(); //this will click the 2nd button on the page with the name "button1" and the vlaue "Button 1"
    - There is a generic attribute and tag finder that will allow one to access any element on the page. For example: ie.htmlElement(tag("MyTag"), attribute("myattr","myvalue")).click(); //this will click the first element on the page that matches <MyTag myattr="myvalue"/>

    Bug fixes
    - Fixed child browser threading issues
    - Fixed browser initialization issues
    - Fixed issue where you have to call close() on child browsers that are closed via javascript

    2006-08-28 18:57:09 UTC by btknorr

  • Watij Release 3.0.1 BETA Available

    Beta 3.0.1 Notes

    Design Changes:
    - New system property BROWSER_TIMEOUT can be configured. This property is the amount of time in seconds that watij should wait for a browser to be initialized.
    - Added ability to run single unit test. Example: launchAnt.bat run.single.test -DtestName=watij.NavigateTest
    - Added static import to beanshell.
    - Refactored IEController and IE to single class.
    - Refactored to bind all calls to OLEMessageLoop to increase stability.

    Element Support:
    - Added ability to use "/i" construct as in perl for regular expressions inorder to do case insensitive searches.
    - Added ability to get/set screen mode to full screen or theatre mode.
    - Added ability to get/set top and left position of IE.
    - Added ability to get/set visible state of ie.
    - Added ability to capture only IE window.
    - Added additional waitWhileBusy lines in IE when iWebBrowser2 is being affected for stability.
    - Added additional waitUntilDocComplete lines in various element classes when actions are performed (click, set, dblclick, etc..) for stability.
    - Changed method of minimizing, maximizing, and restoring IE from using sendKeys to using Wnd object.
    - Changed method of closing IE browser to ensure RPC Server Unavilable error is not received.

    Bug Fixes:
    - Fixed bug that prevented use of "/" in regex expression for finders.
    - Fixed typo for firing ONKEYDOWN and ONKEYUP.

    2006-08-15 04:39:54 UTC by angelo0000