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

  $Author: richard $

  $Revision: 1.4 $

  $Log: 1,v $
  Revision 1.4  2002/06/06 14:16:37  richard
  new spec

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


-->
<test id="wml2/uabehaviour/navuiwmldo/overridebackkey/1" class="A" 
	scope="wml2" testtype="application" type="manual" source="wml2#5.10.2" 
	device="both">
	<assertion>When the WML:DO element's TYPE attribute is set to 'prev', and 
	the default presentation is selected, the user agent must override the 
	default behavior of the BACK key with the task associated with the 
	WML:DO element.
	</assertion>
	<specnote>Create a card that holds a WML:DO element, with it's TYPE 
	attribute set to 'prev'. Within the WML:DO element use the WML:GO 
	element to go to a second card. Call the card and then press the 
	back button and make sure you are taken to the second card.
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card id="main" title="main" newcontext="true">
				<wml:do type="prev">
					<wml:go href="#card2" />
				</wml:do>
				<p>Please press the back button to take you to the second card.</p>
				<p>Is the back button available and, were you taken to card2 
					when you pressed it?
					<br />
					[[yesno]]
				</p>
			</wml:card>
			<wml:card id="card2" title="card2">
				<wml:do type="prev">
					<wml:prev />
				</wml:do>
				<p>This is card2 <br />
					Now press the back button and answer the question.
				</p>
			</wml:card>
		]]>
	</method>
</test>
