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

  $Author: richard $

  $Revision: 1.5 $

  $Log: 15,v $
  Revision 1.5  2002/03/15 16:37:18  richard
  wml:do element was incorrect

  Revision 1.4  2002/02/23 11:30:44  richard
  write test, correct assertion

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


-->
<test id="wml2/markup/contextandnav/wmlgoelement/15" class="A" scope="wml2" 
	testtype="application" type="manual" source="wml2#6.16.4" device="both">
  <assertion>When the WML:GO element is specified, the METHOD attribute is set 
  to 'get', and the ENCTYPE attribute is set to 'multipart/form-data', the user 
  agent must ignore the WML:GO element.
  </assertion>
  <specnote>Create a card containing the WML:GO element, set the METHOD attribute 
  to 'get', and the ENCTYPE attribute to 'multipart/form-data'. Within the WML:GO element 
  include a WML:POSTFIELD element, and set NAME and VALUE attributes. The WML:GO task 
  could be executed by putting it within a WML:DO element. Call the card and make sure 
  when the do element is activated, the user agent ignores the task.
  </specnote>
  <results>
    <result ci="true">
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<wml:card newcontext="true" id="main">
      <p>
        Click on the link
        <wml:do type="accept">
      	  <wml:go method="get" enctype="multipart/form-data" href="#card2">
            <wml:postfield name="toto" value="sniff"/>
            [[sessionvars]]
          </wml:go>
        </wml:do>
      </p>
      <p>Was the card2 NOT displayed ?
        <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.
    	</p>
  	</wml:card>]]>
  </method>
</test>
