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

  $Author: richard $

  $Revision: 1.7 $

  $Log: 7,v $
  Revision 1.7  2002/04/19 14:13:51  richard
  autofailed, improve the speed of the test

  Revision 1.6  2002/02/28 09:24:23  richard
  change manual to auto

  Revision 1.5  2002/02/25 13:51:33  richard
  rewrite test

  Revision 1.4  2002/02/04 16:20:37  gb
  Added the test source and results into the following test files:

  Modified Files:
   	wml2/markup/contextandnav/wmlaccesselement/3
   	wml2/markup/contextandnav/wmlaccesselement/4
   	wml2/markup/contextandnav/wmlaccesselement/5
   	wml2/markup/contextandnav/wmlaccesselement/6
   	wml2/markup/contextandnav/wmlaccesselement/7
   	wml2/markup/contextandnav/wmlaccesselement/8
   	wml2/markup/contextandnav/wmlgetvarelement/1
   	wml2/markup/contextandnav/wmlgetvarelement/10
   	wml2/markup/contextandnav/wmlgetvarelement/11
   	wml2/markup/contextandnav/wmlgetvarelement/2
   	wml2/markup/contextandnav/wmlgetvarelement/3
   	wml2/markup/contextandnav/wmlgetvarelement/4
   	wml2/markup/contextandnav/wmlgetvarelement/5
   	wml2/markup/contextandnav/wmlgetvarelement/6
   	wml2/markup/contextandnav/wmlgetvarelement/7
   	wml2/markup/contextandnav/wmlgetvarelement/8
   	wml2/markup/contextandnav/wmlgetvarelement/9
   	wml2/markup/contextandnav/wmlgoelement/6
   	wml2/markup/contextandnav/wmlgoelement/7
   	wml2/markup/contextandnav/wmlnoopelement/1
   	wml2/markup/contextandnav/wmlsetvarelement/1
   	wml2/markup/contextandnav/wmlsetvarelement/2
   	wml2/markup/contextandnav/wmlsetvarelement/3
   	wml2/markup/contextandnav/wmlsetvarelement/4
   	wml2/markup/contextandnav/wmlsetvarelement/5
   	wml2/markup/contextandnav/wmlsetvarelement/6
   	wml2/markup/contextandnav/wmltimerelement/1
   	wml2/markup/contextandnav/wmltimerelement/2
   	wml2/markup/contextandnav/wmltimerelement/3
   	wml2/markup/contextandnav/wmltimerelement/4
   	wml2/markup/contextandnav/wmltimerelement/5
   	wml2/markup/contextandnav/wmltimerelement/6
   	wml2/markup/contextandnav/wmltimerelement/7
   	wml2/markup/contextandnav/wmltimerelement/8
  Added Files:
   	wml2/markup/contextandnav/wmlaccesselement/access3_1_ext.html
   	wml2/markup/contextandnav/wmlaccesselement/access3_2_ext.html
   	wml2/markup/contextandnav/wmlaccesselement/access4_1_ext.html
   	wml2/markup/contextandnav/wmlaccesselement/access4_2_ext.html
   	wml2/markup/contextandnav/wmlaccesselement/access5_ext.html
   	wml2/markup/contextandnav/wmlaccesselement/access6_ext.html
   	wml2/markup/contextandnav/wmlaccesselement/access7_2_ext.html
   	wml2/markup/contextandnav/wmlaccesselement/access8_1_ext.html
   	wml2/markup/contextandnav/wmlaccesselement/access8_2_ext.html

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


-->
<test id="wml2/markup/contextandnav/wmltimerelement/7" class="A" scope="wml2" 
	testtype="application" type="manual" source="wml2#6.16.11" device="both">
	<assertion>When the NAME attribute of the WML:TIMER element is specified, 
	and the variable value is already set, the VALUE attribute must be ignored.
	</assertion>
	<specnote>Create a card with an ENTERFORWARD event binding that sets a 
	variable to '50', and a TIMER event binding that will navigate to a second 
	card indicating timer expiration. Card1 should also include a WML:TIMER 
	element with the NAME attribute set to the same name as the variable 
	already set, and the VALUE attribute set to '5000'. Display the card, and 
	make sure you are taken to a second card after a period of 5 seconds.
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card id="main" title="main" newcontext="true">
				<p>This is the Main card</p>
				<wml:onevent type="enterforward">
					<wml:go href="#card2">
						<wml:setvar name="timer" value="50" />
					</wml:go>
				</wml:onevent>
				<p>Were you taken to this card from card2 after 5 seconds?
					<br />
					[[yesno]]
				</p>
			</wml:card>
			<wml:card id="card2" title="card2">
				<wml:onevent type="timer">
					<wml:prev />
				</wml:onevent>
				<wml:timer name="timer" value="50000" />
				<p>You should be taken back to main after 5 seconds</p>
				[[auto_failed]]
			</wml:card>
		]]>
	</method>
</test>
