You should use the <setSelectField/>, see
http://webtest.canoo.com/webtest/manual/setSelectField.html for more
info on it.
Tim
________________________________
From: webt...@lists.canoo.com
[mailto:webt...@lists.canoo.com] On Behalf Of maan
Sent: Friday, January 20, 2006 12:53 PM
To: webt...@lists.canoo.com
Subject: [Webtest] How to test select option
Hi All,
I am a new in WebTest.
How to test select option through Webtest.
My html code is like this:
<select name="position" style="font-size:9px"
onChange="choosePosition()">
<option value="choose" >Choose Location</option>
<option value="usa">Menlo Park, CA</option>
<option value="usa">Somerset, NJ</option>
<option value="usa">Chicago, IL</option>
</select>
from here i want to select Chicago and check some stuff.
Please tell me how to select this value.
Thanks
Maan
________________________________
Yahoo! Autos
<http://us.rd.yahoo.com/evt=38381/%20ylc=X3oDMTEzcGlrdGY5BF9TAzk3MTA3MDc
2BHNlYwNtYWlsdGFncwRzbGsDMWF1dG9z/*http:/autos.yahoo.com/index.html%20>
. Looking for a sweet ride? Get pricing, reviews, & more on new and used
cars.