thanks a lot Jeppe,
selSession.fireEvent("edit_field_1", "blur") works
it was really helpful.
best regards,
Darek
On 3 Mar, 13:11, Jeppe Nejsum Madsen wrote:
> Ok,
>
> What happens if you, manually, type in "new value" in the field (only
> the text, don't press enter, dont click etc)??
>
> My
Ok,
What happens if you, manually, type in "new value" in the field (only
the text, don't press enter, dont click etc)??
My guess is nothing (unless you've added your own keyboard event
handlers). And this is what your selenium test does.
If so take a look here
http://www.eviltester.com/index.ph
okej, so:
i've got code like this:
var testStr : String = ""
def set(s : String) : JsCmd ={
println(s)
testStr = s
JsRaw("")
}
def render(ns : NodeSeq) : NodeSeq ={
bind("fields", ns,
"name" -> SHtml.ajaxText(testStr, (s : String) => setName(s) ) % ("id"
-> "name"),
...
}
and JUnit test with Se