<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/struct/control/select/element/iname/8" class="A" scope="wml" testtype="application" type="manual" source="wml13#11.6.2.1" device="both">
  <assertion>When the INAME attribute of the SELECT element is not specified, and the
NAME attribute is specified as a
variable name, and that variable is set, the value of that variable is used to
select option(s). 
</assertion>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
    <result>
      <name>test</name>
      <value>three</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<onevent type="onenterforward">
<go href="#card1">
<setvar name="test" value="three"/>
</go>
</onevent>
<auto_failed>
</card>]]>
  </method>
  <cards>
    <card id="1">
      <![CDATA[<card id="card1">
<p>Item 3 is selected:
<select name="test" multiple="true">
<option value="one">1</option>
<option value="two">2</option>
<option value="three">3</option>
</select>
! DO NOT deselect item 3 before leaving the test
</p>
<p>Is item 3 selected?
<yesno>
</p>
</card>
]]>
    </card>
  </cards>
</test>

