<?xml version="1.0" encoding="UTF-8"?>
<!--

  $Author: richard $

  $Revision: 1.7 $

  $Log: 4,v $
  Revision 1.7  2002/04/25 13:10:44  richard
  pua a title to the button

  Revision 1.6  2002/04/20 09:07:25  richard
  yesno

  Revision 1.5  2002/03/26 09:16:44  richard
  br and role attribute

  Revision 1.4  2002/02/27 16:05:59  richard
  correct the test, make as auto

  Revision 1.3  2001/10/30 16:22:53  gb
  Modified all the test files in the wml2 directory such that it puts the <?xml?> declaration back at the top of the file, before the comment.

  Revision 1.2  2001/10/08 21:56:28  gb
  Added the standard header of Author, Revision and Log at the top of each template file.


-->
<test id="wml2/uabehaviour/navigationreference/refreshtask/4" class="A" scope="wml2" 
	testtype="application" type="manual" source="wml2#5.3.4" device="both">
  <assertion>When the WML:REFRESH task is executed, the current card is 
  re-displayed using the current variable state and processing stops.
  </assertion>
  <specnote>Create a card that holds a SELECT element with three OPTION elements. 
  The select element should be set to an initial value when first displaying the
  card. The card should contain a WML:REFRESH task that when executed, re-displays 
  the card showing the current value of the variable to the user. Display the 
  card, select a different value from the menu, then refresh the card. Make sure
  the variable value has changed.
  </specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
		<![CDATA[
			<wml:card id="main" title="main" newcontext="true">
  			<p>
    			Please select an option and then refresh the card.<br />
    			Choice:
    			<select wml:name="choice" wml:ivalue="3">
      			<option value="plane">Airplane</option>
      			<option value="train">Railway</option>
      			<option value="car">Automobile</option>
    			</select>
  			</p>
  			<wml:do type="accept" title="refresh">
      		<wml:refresh/>
		    </wml:do>
  			<p>Was the initial value of the control re-displayed when the card was refreshed?
  				<br/>
					[[yesno]]
				</p>
			</wml:card>
		]]>
  </method>
</test>
