| actiWATE Framework 1.0 | download v1.0 now |
Release date: January 20, 2007
Changes in v1.0:
- General: actiWATE now supports AJAX technology. More information on this subject can be found in the Working with asynchronous events section of Tutorial.
- General: actiWATE can now handle different character sets (see Configuration file section in Tutorial for desciption of defaultCharset and acceptLanguageHeader properties).
- General: Support of data and connection timeouts (see the Configuration file section in Tutorial for description of connectTimeout and dataTimeout properties). See also API Reference for the following methods of ActiwateSession:
- setConnectTimeout(int seconds)
- setDataTimeout(int seconds)
- General: HttpClient is upgraded to version 3
- API: ActiwateSession.isJavaScriptAutoRunningEnabled() method added
- API: Action.setFile(FileField field, File fileToUpload, String contentType) method is deprecated. Use the following methods instead:
- setFileName(FileField fileField, String filePath)
- setFileName(FileField fileField, String filePath, InputStreamFactory streamFactory, String contentType)
- chooseFile(FileField fileField, String filePath, InputStreamFactory streamFactory, String contentType)
- JavaScript support: New methods and event handler implemented:
- attachEvent()
- detachEvent()
- onreadystatechange event handler
- JavaScript support: window.execScript() method implemented
- JavaScript support: document.parentWindow property implemented
- JavaScript support: homePage behavior implemented for all elements (isHomePage(),
setHomePage() methods) - JavaScript support: document.all.tags() implemented
- JavaScript support: navigator.mimeTypes implemented
- JavaScript support: stubs added for the following methods:
- addBehavior()
- removeBehavior()
- behaviors[]
- JavaScript support: Support of dynamic creation and loading of SCRIPT and IFRAME elements implemented
- JavaScript support: 'Select' object and 'options' collections don't behave the same way as in Internet Explorer.
- JavaScript support: 'Enumerator' object implemented
- JavaScript support: document.title property implemented
- JavaScript support: Support of expando properties implemented
- JavaScript support: The 'disabled' property implemented
- JavaScript support: Stub added for the 'selection' object
- JavaScript support: DOM Attributes implemented
- JavaScript support: support of 'about:blank' URL added
- Bugfix: window.location is sometimes wrong after the window.open() call
- Bugfix: actiWATE executes scripts within href attribute when the outer page was unloaded
- Bugfix: location.replace() sometimes reloads the page
- Bugfix: 'javascript:' prefix is processed only within href attributes
- Bugfix: NullPointerException is thrown if a page contains an inline script right after the HEAD element
- Bugfix: The FRAMESET tag is processed incorrectly without the HEAD tag
- Bugfix: Some related URLs are resolved incorrectly
- Bugfix: Error when creating URL for loading external resource on 'classid' attribute of 'object' element
- Bugfix: A couple of problems with string.charAt(0) fixed, when the string is empty
- Bugfix: URL escaping / unescaping works incorrectly
- Bugfix: Value of the type attribute of <input type="file"> is compared case-sensitive
| actiWATE Framework v0.99b3 |
Release date: September 5, 2005
Changes in v0.99b3:
- General: Automatic META refresh tags processing can be turned on or off via API or in actiwate.properties file. See Configuration file section in Tutorial for description of autoExecMetaRefreshes property.
- General: actiWATE now can check for existence of auxiliary resources linked from the page, i.e. images, objects and css files. Corresponding property added in actiwate.properties: resourcesLoading. Moreover, cache can be used for auxiliary resources (property useAuxiliaryResourcesCache). See Configuration file section in Tutorial for description of these properties.
- General: To speedup tests execution JavaScript cache now can be used. This is controlled by useJavaScriptCache property. See Configuration file section in Tutorial.
- General: Rhino upgraded to version 1.6R1.
- API: New methods and classes for image maps and areas support (see sample
ImageMaps and
Accessing image maps and areas
section in Tutorial):
- new classes: ImageMap and Area
- methods: PageObjectLookup.imageMaps(), PageObjectLookup.imageMap(String nameOrId), PageObjectLookup.imageMap(int idx)
- API: New methods added allowing to turn on/off automatic META refresh processing from the test:
- ActiwateSession.setAutoExecMetaRefreshes(boolean enabled)
- ActiwateSession.getAutoExecMetaRefreshes()
- API: New methods emulating browser back, forward and reload functions added:
- Page.back()
- Page.forward()
- Page.reload()
- API: New method added to simplify lookup of the checkboxes with the same name: PageObjectLookup.checkboxes(String nameOrId).
- API: Action.setText() method truncates value according to the maxLength attribute.
- HTTP: actiWATE now sends Language header in HTTP request.
- JavaScript support: window.history object supported.
- JavaScript support: stubs added for the following methods and properties:
element.clientTop, element.clientLeft, element.clientWidth, element.clientHeigth, element.offsetHeight, element.offsetWidth, element.offsetParent, window.event.clientX, window.event.clientY, window.event.offsetX, window.event.offsetY, window.event.screenX, window.event.screenY, window.event.x, window.event.y, window.screenLeft, window.screenTop, window.moveBy(), window.moveTo(), window.resizeBy(), window.resizeTo()
- JavaScript support: input.select() and textarea.select().
- JavaScript support: Most of DOM Level 1 properties and methods implemented.
- JavaScript support: className property implemented.
- Bugfix: actiWATE does not allow to use JavaScript keywords as identifiers.
- Bugfix: actiWATE incorrectly processes JavaScript comments in some cases.
- Bugfix: RadioButtons with the same name are initialized incorrectly.
- Bugfix: Incorrect error page is saved to a response.html when tearDown() method
changes location.
- Bugfix: Error in tearDown() overwrites error in the test.
- Bugfix: SingleSelect returns selected option incorrectly if some options were
generated dynamically.
- Bugfix: JavaScript object window is recreated every time when page is changed.
- Bugfix: JavaScript compilation error results in NullPointerException.
- Bugfix: JavaScript within an href attrubute must be unescaped before execution.
- Bugfix: External JavaScript scripts must be executed regardless of their content type
returned in HTTP response.
- Bugfix: goTo() doesn't switch the current page.
- Bugfix: ClassCastException while creationg Option.
- Bugfix: Error when adding new Option created in one document into another document.
- Bugfix: StackOverflowError is thrown on big pages.
- Bugfix: Other minor bugfixes.
| actiWATE Framework v0.99b2 |
Release date: January 18, 2005
Changes in v0.99b2:
-
API: HttpRequest.replaceParameters() and HttpRequest.removeParameters() methods removed,
HttpRequest.clearParameters() method added.
-
API: New lookup method optionByValue(String optionValue) implemented in SingleSelect and
MultipleSelect.
-
General: NekoHTML 0.9.4 incorporated.
-
HTTP: Support of proxy servers. See the updated
Configuration file
section in Tutorial.
-
HTTP: Support of basic authorization. See the
Configuration file
and Handling Basic Authorization sections in Tutorial. Also the new Handling Basic Authorization sample is
available.
-
JavaScript support: Support of window.focus(), window.blur(), onfocus, and onblur
-
JavaScript support: Support of window.screen. See the Working with the Screen and the
Configuration file
sections in Tutorial. Also the new Working with the Screen sample is available.
-
JavaScript support: Minimal implementation of JavaScript objects related to CSS.
Refer to the Appendix A: CSS implementation description section in Tutorial for details.
-
Bugfix: Frames are inaccessible from JavaScript if not yet loaded.
-
Bugfix: selectOption() works incorrectly in multiply select when the target option is
already selected.
-
Bugfix: JS: select.selectedIndex and select.value returns incorrect values if several
options accidentally have 'selected' attribute in a single-select
-
Bugfix: document.getElementById() doesn't take into account name attribute
-
Bugfix: Changing of innerHTML and innerText properties results in error
-
Bugfix: <button></button> controls are submitted incorrectly
-
Bugfix: Form's POST parameters are wrong if two controls with same name are submitted
-
Bugfix: Form is not submitted when action='#'
-
Bugfix: The HTMLOptionElement.setSelected(boolean selected) method is no longer used
in actiWATE.
-
Bugfix: "Page is invalid" exception when onchange handler redirects to another page.
-
Bugfix: Many other bugfixes.
| actiWATE Framework v0.99 |
Release date: October 19, 2004
Changes in v0.99:
-
API: Methods for catching and verification of Alert, Prompt, and Confirm dialogs:
- expectAlert( AlertAssert alertAssert, String expectedAlertDescription )
- expectConfirm( ConfirmAssert confirmAssert, String confirmDescr, int whatToPress )
- expectPrompt( PromptAssert promptAssert, String promptDescr, String newValue )
User needs to implement AlertAssert, ConfirmAssert or PromptAssert interfaces that verify corresponding dialog and pass their implementation to the above methods.
For more details see the updated Handling Alerts, Confirms, and Prompts sample and API Reference
-
API: Support of clicks on any (arbitrary) HTML element.
Please refer to a new Emulating JavaScript events sample and Emulating JavaScript events section in Tutorial.
-
API: Methods switchTo( Frame ), switchTo( IFrame ), and switchTo( Window ) were replaced with one method
switchTo( Page ). Now it's possible to remember the current page (Page page = page()) and switch to
this page later in the test (switchTo( page )).
See the updated Working with Frames sample.
This modification doesn't require changes of the existing tests.
-
Documentation: Additional documentation that reflects current state of JavaScript support in actiWATE. You can find
it in actiWATE Framework package under the docs/javascript directory.
-
HTTP: Support of 'Referer' request header (including document.referrer property in JavaScript).
-
HTTPS: Support of untrusted SSL certificates.
-
JavaScript support: Support of 'onload' and 'onunload' handlers.
-
JavaScript support: Support of document.getElementById() method.
-
JavaScript support: Support of document.getElementsByName() method.
-
JavaScript support: Support of getElementsByName() method in all element objects.
-
Bugfix: <button> without 'type' attribute submited its form.
-
Bugfix: Exception while selecting <option> within <optgroup>.
-
Bugfix: Click on a checked checkbox did not uncheck it.
-
Bugfix: Actions (click, selectOption ...) depended on a current page.
-
Bugfix: Image buttons parameters were incorrectly submitted as imgBtnName=imgBtnValue instead of imgBtnName.x and imgBtnName.y.
Now image buttons are submitted with parameters imgBtnName.x=1 and imgBtnName.y=1 where imgBtnName is the
name attribute's value and x=1 and y=1 are fake coordinats.
| actiWATE Framework v0.95 |
Release date: July 15, 2004
Changes in v0.95:
-
JavaScript support: Enable/disable automatic JavaScript execution.
actiWATE doesn't support all the client-side technologies of real Internet browser. If an HTML page being tested uses the technology that is not yet supported, such as Dynamic HTML behaviors or Macromedia Flash, then automated test can fail. Now actiWATE provides work-around so that such HTML pages can be tested.
For more details see Enabling/Disabling JavaScript Execution section in Tutorial and Enabling/Disabling JavaScript Execution sample.
-
JavaScript support: Support of document.cookie property.
-
JavaScript support: 'change' event now is generated for the following elements:
- <INPUT TYPE='password'>
- <INPUT TYPE='text'>
- <INPUT TYPE='file'>
- <SELECT>
- <TEXTAREA>
-
Bugfix: Failure summary: page layout broken if stack trace contains '<'!--' string.
-
Bugfix: Framework does not reload current page when a query string presents.
-
Bugfix: Can not set text for a text field if its type attribute is empty.
-
Bugfix: Other bugfixes
| actiWATE Framework v0.9 |
Release date: June 18, 2004


