[ http://webtest-community.canoo.com/jira/browse/WT-234?page=all ]
Marc Guillemot closed WT-234:
-----------------------------
Resolution: Fixed
Assign To: Marc Guillemot
This should be fixed as current version of htmlunit supports the onblur events.
Please reopen and provide an example if it is not the case.
> onblur event
> ------------
>
> Key: WT-234
> URL: http://webtest-community.canoo.com/jira/browse/WT-234
> Project: WebTest
> Type: Task
> Reporter: christian bartsch
> Assignee: Marc Guillemot
>
> the onblur event is not currently supported by webtest.
> the desired functionality would be:
> -----------------------------------------------------------
> -----------------------------------------------------------
> application_behaviour.js:
> var myrules = {
> //...
> '#txtInput' : function( element )
> {
> ...
> element.onblur = function()
> {
> //...
> check( this.value );
> }
> //...
> };
> Behaviour.register(myrules);
> -----------------------------------------------------------
> -----------------------------------------------------------
> page.html:
> ...
> function check(value)
> {
> ...
> document.getElementById("div1").innerHTML = "Operation successful";
> document.getElementById("div1").style.visibility = "visible";
> }
> -----------------------------------------------------------
> -----------------------------------------------------------
> webtest.xml:
> ...
> <verifyXPath description="Check if js-function has been executed correctly"
> xpath="//[EMAIL PROTECTED]'div1']"
> text="Operation successful"
> />
> ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest