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

  $Author: richard $

  $Revision: 1.6 $

  $Log: 2,v $
  Revision 1.6  2002/04/20 09:21:21  richard
  yesno

  Revision 1.5  2002/03/25 17:01:29  richard
  role =back into type=prev

  Revision 1.4  2002/02/25 15:29:25  richard
  rewrite the test

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


-->
<test id="wml2/uabehaviour/uacontext/navhistory/2" class="A" scope="wml2" 
	testtype="application" type="manual" source="wml2#5.2.2" device="both">
  <assertion>When forward navigation occurs, a new entry must be pushed onto the 
  history stack as a result of this.
  </assertion>
  <notes>Can only visually check the stack by navigation.</notes>
  <specnote>Using the card in question, Navigate to a second card, and then use 
  the back button to return to the first card.
  </specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
<![CDATA[
	<wml:card id="main">
		<p>this is card1</p>
		<p>Click this &nbsp;
			<a href="#card2">Link</a>&nbsp;
			to go to second card.
		</p>
		<p>Is the card now displayed the card1, and the display the same as before (same text) ?
			<br/>
			[[yesno]]
		</p>
	</wml:card>
	<wml:card id="card2">
		<wml:do type="prev">
			<wml:prev />
		</wml:do>
		<p>This is card2<br/>
			Now press the back button.
		</p>
	</wml:card>
]]>
  </method>
</test>

