<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/struct/control/select/element/value/2" class="A" scope="wml" testtype="application" type="manual" source="wml13#11.6.2.1" device="both">
  <assertion>When the VALUE attribute of the SELECT element is set, it
defines a default value with which to select options within the SELECT
element. If the NAME attribute is also specified, and the variable named by
NAME already contains a value, the VALUE attribute value is ignored.
</assertion>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
    <result>
      <name>test</name>
      <value>3</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<onevent type="onenterforward">
<go href="#card1">
<setvar name="test" value="3"/>
</go>
</onevent>
<auto_failed>
</card>]]>
  </method>
  <cards>
    <card id="1">
      <![CDATA[<card id="card1">
<p>Item 3 is selected:
<select name="test" value="2" multiple="false">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
! DO NOT deselect item 3 before leaving the test 
</p>
<p>Was item 3 pre-selected?
<yesno></p>
</card>
]]>
    </card>
  </cards>
</test>

