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

  $Author: richard $

  $Revision: 1.6 $

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

  Revision 1.5  2002/03/26 09:23:26  richard
  extra tag, missing tag, missing card

  Revision 1.4  2002/02/27 16:46:17  richard
   rewrite test

  Revision 1.3  2001/10/30 16:22:53  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/navigationreference/taskexfailure/2" class="A" scope="wml2" 
	testtype="application" type="manual" source="wml2#5.3.5" device="both">
  <assertion>When a task fails to fetch it's target resource, there must be no 
  changes to the browser context.
  </assertion>
  <specnote>Create a card setting a variable with an automatic WML:REFRESH
  and that has a link, containing a WML:SETVAR element, to a card that 
  doesn't exist. After trying to reach the unknown card, make sure that the
  variable setting with the WML:REFRESH has still the same value and that
  the other variable is an empty string.
  </specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
<![CDATA[
<wml:card newcontext="true" id="main">
  <wml:onevent type="enterforward">
    <wml:refresh>
      <wml:setvar name="one" value="one" />
    </wml:refresh>
  </wml:onevent>
  <p>
    Click this &nbsp;
    <wml:anchor>
      Link&nbsp;
      <wml:go href="#non-exist">
        <wml:setvar name="two" value="two" />
      </wml:go>
    </wml:anchor>
    and make sure the value for variable $$two is still not shown<br />
  </p>
  <p>
    The variable $$one = $one<br />
    The variable $$two = $two<br />
    </p>
  <p>Was the value for $$two blank and the value of $$one equal to one?
			<br/>
		[[yesno]]
	</p>
</wml:card>
]]>
  </method>
</test>
