Hi,

I don't know if onkeyup is supported by HtmlUnit. But I suppose the answer is 
no if it's not working in your case. Could you check if it work with a simple 
HtmlUnit scenario?

++

Julien

----- Message d'origine ----
De : karim gzouli <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Jeudi, 3 Janvier 2008, 9h55mn 16s
Objet : [JWebUnit-users] FW: [JWebUnit] How can I call a javascript in a 
setTextField method?




.hmmessage P
{
margin:0px;padding:0px;}
body.hmmessage
{
FONT-SIZE:10pt;FONT-FAMILY:Tahoma;}




 

.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass EC_body.hmmessage
{font-size:10pt;font-family:Tahoma;}

Hello,
 
I have a problem using JWebUnit. This is the scenario : 
1 - I enter "toto" into the a field
2 - This action calls automatically the doKeyUp() javascript method to enable 
some buttons.
this is the input field : <html-el:text styleClass="sgF_Input_no_Width" 
maxlength="13" size="13" property="a" style="width:100px;" onkeyup="doKeyUp()"/>
 
To put the value on the field, in JWebUnit, i use setTextField but this method 
doesn't call the doKeyUp() method. How can I call the javascript method doKeyUp 
using setTextField?
 
Thank you for your help.
 
Karim Gzouli
Windows Live Messenger 2008 vient de sortir, entièrement personnalisable !  
Téléchargez gratuitement Messenger 2008





      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
http://mail.yahoo.fr
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to