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

<test id="wae/features/uabehaviour/navhistory/rules/4" class="A" 
	scope="wae" testtype="application" type="manual" source="wae#7.11.1.2" 
	device="client">
	<assertion>When a document or document fragment is accessed via an 
	explicitly specified URL(e.g. via the HREF attribute in 'a') and the 
	most recent entry of the history stack is identical to the new entry,
	an entry for the ressource must be added to the history stack.
	</assertion>
	<specnote>Create a card(card1) that brings to an other card (card2) 
	using a A element. Card2 will have a WML:DO element enabling the user 
	to go back to card1 and a A element enabling to go again to card2. Go to 
	card2 from card1 and then go again to card2 using the A element of card2.
	Finally go back to card1 using the WML:DO element and Make sure that 
	you come back to card1 after 2 backward navigation. 
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<card newcontext="true" id="main">
				<p>please go to <a href="#card2">card2</a></p>
				<p>Have you brought back to this card using the DO element?
					<br />
					<yesno>
				</p>
			</card>
		]]>
	</method>
	<cards>
		<card id="1">
			<![CDATA[
				<card id="card2">
				<p>This is card2<br/>
					First go to <a href="#card2">card2</a> a 2nd time<br/>
					Then go back to card1 (2 backward navigation needed
				</p>
					<do type="prev" label="back">
						<prev/>
					</do>
				</card>
			]]>
		</card>
	</cards>
</test>

