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

  $Author: richard $

  $Revision: 1.6 $

  $Log: 2,v $
  Revision 1.6  2002/04/19 13:12:14  richard
  mising the auto_failed

  Revision 1.5  2002/02/27 18:18:03  richard
  set the type attribute of the test element to auto

  Revision 1.4  2002/02/23 11:58:34  richard
  write test

  Revision 1.3  2001/10/30 16:22:14  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:07  gb
  Added the standard header of Author, Revision and Log at the top of each template file.


-->
<test id="wml2/markup/contextandnav/wmlpostfieldelement/2" class="A" 
	scope="wml2" testtype="application" type="auto" source="wml2#6.16.8" 
	device="both">
	<assertion>When the WML:POSTFIELD is used, the VALUE attribute must specify 
	the field value.
	</assertion>
	<specnote>Create a card containing the WML:GO element, set the METHOD 
	attribute to 'get' and the ENCTYPE attribute to 
	'application/vnd.wap.wml.form.urlencoded'. Within the WML:GO element 
	include a WML:POSTFIELD element, and set it's NAME and VALUE attributes. 
	Call the card and make sure when the task is executed, the values are sent 
	to the server.
	</specnote>
	<results>
		<result ci="true">
			<name>ric</name>
			<value>math</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card newcontext="true" id="main">
				<wml:onevent type="enterforward">
					<wml:go method="get" enctype="application/vnd.wap.wml.form.urlencoded" href="[[responseurl]]">
						<wml:postfield name="ric" value="math"/>
						[[sessionvars]]
					</wml:go>
				</wml:onevent>
				[[auto_failed]]
			</wml:card>
		]]>
	</method> 
</test>
