I have a drop-down menu. Html looks like this:

 

<tr>
                <td align="left" nowrap><span
id="fld010">Vrsta:</span></td>
                <td align="left" width="90%"><select name="list10"
onchange="__doPostBack('list10','')" language="javascript" id="list10"
style="width:98%;">
               <option value="1001">1001 </option>
               <option value="1003">1003 </option>
               <option value="1089">1089</option>
               <option value="1090">1090 </option>
                               
 
</select></td>
              </tr>
 
In JWebUnit 1.2 I selected an item from this drop-down menu with:

 

setFormElement( 'list10', '1003' );  

 

Now, using JWebUnit 1.4, this doesn't work anymore. I tried also:

 

setTextField("list10","1003");

selectOption("list10","1003");

selectOptionByValue("list10","1003");

 

...but nothing works.

 

 

Can you please tell me what to use instead?

 

 

Regards

 

Mojca

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to