[Webtest] Help on custom tag

Dierk Koenig webtest@lists.canoo.com
Mon, 18 Aug 2003 20:09:34 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0013_01C365C4.A4C73560
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Thomas,

your step needs to be between <steps> ... </steps>

cheers
Mittie
  -----Original Message-----
  From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com]On Behalf Of Hu Thomas Pan
  Sent: Freitag, 15. August 2003 19:23
  To: webtest@lists.canoo.com
  Subject: [Webtest] Help on custom tag


  Hi,

  I have a problem when I want to add a custom tag <comment> under
<testSpec> so that for each test, I can add a piece of comment. I have tried
both ways: either by Ant Task interface or by canoo Step interface. By both
ways, I got the same complain saying:

  Task is not allowed here: comment.

  The comment tag is like:

  <testSpec ...>

  <comment>blah blah </comment>

  <steps ..

  Can anyone help me?



  Best,

  Thomas




------=_NextPart_000_0013_01C365C4.A4C73560
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3DWord.Document name=3DProgId>
<META content=3D"MSHTML 6.00.2726.2500" name=3DGENERATOR>
<META content=3D"Microsoft Word 10" name=3DOriginator><LINK=20
href=3D"cid:filelist.xml@01C36317.33730740" rel=3DFile-List><!--[if gte =
mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:UseFELayout/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<STYLE>@font-face {
	font-family: SimSun;
}
@font-face {
	font-family: @SimSun;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; =
mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: SimSun
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: SimSun
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: SimSun
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.EmailStyle17 {
	COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: =
personal-compose; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; =
mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Arial; =
mso-hansi-font-family: Arial; mso-bidi-font-family: Arial
}
SPAN.spelle {
	mso-style-name: spelle
}
SPAN.grame {
	mso-style-name: grame
}
SPAN.SpellE {
	mso-style-name: ""; mso-spl-e: yes
}
SPAN.GramE {
	mso-style-name: ""; mso-gram-e: yes
}
DIV.Section1 {
	page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=3DEN-US style=3D"tab-interval: .5in" vLink=3Dpurple =
link=3Dblue>
<DIV><SPAN class=3D410390618-18082003><FONT face=3DArial color=3D#0000ff =
size=3D2>Hi=20
Thomas,</FONT></SPAN></DIV>
<DIV><SPAN class=3D410390618-18082003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D410390618-18082003><FONT face=3DArial color=3D#0000ff =
size=3D2>your=20
step needs to be between &lt;steps&gt; ... =
&lt;/steps&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=3D410390618-18082003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D410390618-18082003><FONT face=3DArial color=3D#0000ff =

size=3D2>cheers</FONT></SPAN></DIV>
<DIV><SPAN class=3D410390618-18082003><FONT face=3DArial color=3D#0000ff =

size=3D2>Mittie</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com]<B>On=20
  Behalf Of </B>Hu Thomas Pan<BR><B>Sent:</B> Freitag, 15. August 2003=20
  19:23<BR><B>To:</B> webtest@lists.canoo.com<BR><B>Subject:</B> =
[Webtest] Help=20
  on custom tag<BR><BR></FONT></DIV>
  <DIV class=3DSection1>
  <P class=3DMsoNormal=20
  style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT =
face=3DArial=20
  size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Hi,<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal=20
  style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT =
face=3DArial=20
  size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have a =
problem when=20
  I want to add a custom tag &lt;comment&gt; under =
&lt;</SPAN></FONT><SPAN=20
  class=3DSpellE><SPAN class=3Dspelle>testSpec</SPAN></SPAN><FONT =
face=3DArial=20
  size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">&gt; so =
that for each=20
  test, I can add a piece of comment. I have tried both ways: either by =
Ant Task=20
  interface or by </SPAN></FONT><SPAN class=3DSpellE><SPAN=20
  class=3Dspelle>canoo</SPAN></SPAN><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Step interface. By both =
ways, I=20
  got the same complain saying:<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal=20
  style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT =
face=3DArial=20
  size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Task is =
not allowed=20
  here: comment.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal=20
  style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT =
face=3DArial=20
  size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">The =
comment tag is=20
  like:<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal=20
  style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT =
face=3DArial=20
  size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">&lt;<SPAN =

  class=3DSpellE><SPAN class=3DGramE><SPAN =
class=3Dgrame>testSpec</SPAN></SPAN></SPAN>=20
  &#8230;&#8230;.&gt;<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal=20
  style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT =
face=3DArial=20
  size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">&lt;<SPAN =

  class=3DGramE><SPAN class=3Dgrame>comment&gt;</SPAN></SPAN>blah blah=20
  &lt;/comment&gt;<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal=20
  style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT =
face=3DArial=20
  size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">&lt;steps =

  &#8230;&#8230;<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal=20
  style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT =
face=3DArial=20
  size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Can =
anyone help=20
  me?<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal=20
  style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT =
face=3DArial=20
  size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal=20
  style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT =
face=3DArial=20
  size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Best,<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal=20
  style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT =
face=3DArial=20
  size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Thomas<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTM=
L>

------=_NextPart_000_0013_01C365C4.A4C73560--