Hi Mario,

ok, lets try to explain.

Mario Somrei schrieb:
Hi Michael,


[...]

<groovy description="execute on blur on comment-element with
first.line.id: #{comment.line.id}" replaceProperties="true">

We do pass a property from the surounding webtest into the groovy snippet with name: comment.line.id.

step.context.currentResponse.getHtmlElementById('#{comment.line.id}').fireEvent("blur")

We do get by calling the method: getElementById.
By having this element in the result page we do call the fireEvent-method. This invokes the onblur event on the input field of the result page.

</groovy>

[...]

... everything is clear?

yours

Michael Habbert
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to