8 messages in com.canoo.lists.webtestRE: [Webtest] How to test select option| From | Sent On | Attachments |
|---|---|---|
| Slim Kasi | 20 Jan 2006 02:30 | |
| maan | 20 Jan 2006 03:52 | |
| Tim Bisaerts | 20 Jan 2006 04:00 | |
| Colin O'Brien | 20 Jan 2006 04:03 | |
| Marc Guillemot | 20 Jan 2006 04:58 | |
| maan | 20 Jan 2006 05:26 | |
| Slim Kasi | 25 Jan 2006 02:41 | |
| Tim Bisaerts | 25 Jan 2006 02:49 |
| Subject: | RE: [Webtest] How to test select option![]() |
|---|---|
| From: | maan (maan...@yahoo.com) |
| Date: | 01/20/2006 05:26:40 AM |
| List: | com.canoo.lists.webtest |
Colin Thanks a lot.
Colin O'Brien <coli...@capetechnologies.com> wrote:
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:*
{behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Clean Clean
DocumentEmail MicrosoftInternetExplorer4 /* Style Definitions */
table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt;
font-family:"Times New Roman";} Hi Maan,
All you need to know about testing a select field is here⦠http://webtest.canoo.com/webtest/manual/setSelectField.html
An example step you could use would be: <setSelectField description=âPick and option from a listâ name=âpositionâ text=âChicago, ILâ /> or this may also suit: <setSelectField description=âPick and option from a listâ name=âpositionâ optionIndex=â3â />
I hope this helps.
Cheers, Colin.
-----Original Message-----
From: webt...@lists.canoo.com [mailto:webt...@lists.canoo.com] On
Behalf Of maan
Sent: 20 January 2006 11:53
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. Looking for a sweet ride? Get pricing, reviews, & more on new and
used cars.
---------------------------------
Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and
used cars.




