[Webtest] Problems with clickLink

Dierk Koenig webtest@lists.canoo.com
Wed, 7 Jun 2006 22:21:46 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0054_01C68A80.C355E0B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hi Juliane,

welcome to Canoo WebTest.

If the label of your link is unique on the page, simly omit the href
attribute. It is not needed then.
BTW: using &amp: was the correct choice ;-)

cheers
Mittie
  -----Original Message-----
  From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com]On Behalf Of Juliane Botelho
  Sent: Mittwoch, 7. Juni 2006 22:04
  To: webtest@lists.canoo.com
  Subject: [Webtest] Problems with clickLink


  Hi,
  I'm new using the Canoo Web Test, and I'm having some problems.
  I'm trying to use the clickLink, but there is an error that I couldn´t
solve.

  My code is:

  <clickLink description="Follow the link to the next page"
  label="Registrar Andamento"

  href="servletacompanhamentoprocesso.do?acao=telaRegistrarAndamento&codFunc
ionalidade=25"
       />

  When I compile, the following error appears: (Line 81 is the "href".)
  \login.xml:81: The reference to entity "codFuncionalidade" must end with
the ';' delimiter.

  ==============================================================
  I know that you use '&' to represent the logical operation 'and' as ';'
but if I change and use the link below:

  href="servletacompanhamentoprocesso.do?acao=telaRegistrarAndamento;codFunc
ionalidade=25"

  I got that the available link is:
  href="servletacompanhamentoprocesso.do
?acao=telaRegistrarAndamento&codFuncionalidade=25"

  =============================================================

  If I try to change to:
        href="servletacompanhamentoprocesso.do?acao=telaRegistrarAndamento&a
mp;codFuncionalidade=25"

  appears a lot of codes that i can´t understand their meaning.

  =============================================================
  My html code is:

   <tr id="row5">
          <td colspan="2" class="WindowFrame" style="padding:5px;">
                <!-- links das ações do menu -->

                          <a
href="/juridico_testes/servletacompanhamentoprocesso.do?acao=telaRegistrarAn
damento&codFuncionalidade=25"
                           title="Registrar Andamento"
                           target="frameContent">Registrar Andamento</a>
                      <br/>

                          <a
href="/juridico_testes/servletacompanhamentoprocesso.do?acao=telaPesquisarPr
ocessos&codFuncionalidade=26"
                           title="Pesquisar Processos e Associações"
                           target="frameContent">Pesquisar Processos e
Associações</a>
                      <br/>

          </td>
      </tr>
  ================================================================

  Could Anyone help me??

  Regards,

  --
  Juliane Botelho

------=_NextPart_000_0054_01C68A80.C355E0B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2873" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D395212020-07062006><FONT face=3DArial color=3D#0000ff =
size=3D2>Hi=20
Juliane,</FONT></SPAN></DIV>
<DIV><SPAN class=3D395212020-07062006><FONT face=3DArial color=3D#0000ff =

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

size=3D2>welcome to Canoo WebTest.</FONT></SPAN></DIV>
<DIV><SPAN class=3D395212020-07062006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D395212020-07062006><FONT face=3DArial color=3D#0000ff =
size=3D2>If the=20
label of your link is unique on the page, simly omit the href attribute. =
It is=20
not needed then.</FONT></SPAN></DIV>
<DIV><SPAN class=3D395212020-07062006><FONT face=3DArial color=3D#0000ff =
size=3D2>BTW:=20
using &amp;amp: was the correct choice ;-)</FONT></SPAN></DIV>
<DIV><SPAN class=3D395212020-07062006><FONT face=3DArial color=3D#0000ff =

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

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

size=3D2>Mittie</FONT></SPAN></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid">
  <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>Juliane Botelho<BR><B>Sent:</B> Mittwoch, 7. Juni 2006=20
  22:04<BR><B>To:</B> webtest@lists.canoo.com<BR><B>Subject:</B> =
[Webtest]=20
  Problems with clickLink<BR><BR></FONT></DIV>Hi,<BR>I'm new using the =
Canoo Web=20
  Test, and I'm having some problems.<BR>I'm trying to use the =
clickLink, but=20
  there is an error that I couldn=B4t solve.<BR><BR>My code=20
  is:<BR><BR>&lt;clickLink description=3D"Follow the link to the next=20
  page"<BR>label=3D"Registrar=20
  =
Andamento"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20

  =
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
&nbsp;<BR>href=3D"servletacompanhamentoprocesso.do?acao=3DtelaRegistrarAn=
damento&amp;codFuncionalidade=3D25"<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
  /&gt;<BR><BR>When I compile, the following error appears: (Line 81 is =
the=20
  "href".)<BR>\login.xml:81: The reference to entity "codFuncionalidade" =
must=20
  end with the ';'=20
  =
delimiter.<BR><BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>I=20
  know that you use '&amp;' to represent the logical operation 'and' as =
';' but=20
  if I change and use the link=20
  =
below:<BR><BR>href=3D"servletacompanhamentoprocesso.do?acao=3DtelaRegistr=
arAndamento;codFuncionalidade=3D25"<BR><BR>I=20
  got that the available link =
is:<BR>href=3D"servletacompanhamentoprocesso.do=20
  =
?acao=3DtelaRegistrarAndamento&amp;codFuncionalidade=3D25"<BR><BR>=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D<BR><BR>If=20
  I try to change to:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
href=3D"servletacompanhamentoprocesso.do?acao=3DtelaRegistrarAndamento&am=
p;amp;codFuncionalidade=3D25"<BR><BR>appears=20
  a lot of codes that i can=B4t understand their=20
  =
meaning.<BR><BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>My=20
  html code is:<BR><BR>&nbsp;&lt;tr =
id=3D"row5"&gt;<BR>&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp; &lt;td colspan=3D"2" class=3D"WindowFrame"=20
  style=3D"padding:5px;"&gt;<BR>&nbsp;&nbsp;&nbsp; &nbsp; =
&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp; &lt;!-- links das a=E7=F5es do menu=20
  --&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;a=20
  =
href=3D"/juridico_testes/servletacompanhamentoprocesso.do?acao=3DtelaRegi=
strarAndamento&amp;codFuncionalidade=3D25"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
title=3D"Registrar=20
  =
Andamento"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
  target=3D"frameContent"&gt;Registrar =
Andamento&lt;/a&gt;<BR>&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
  &lt;br/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp; &nbsp; <BR>&nbsp;&nbsp;&nbsp; &nbsp; =
&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;a=20
  =
href=3D"/juridico_testes/servletacompanhamentoprocesso.do?acao=3DtelaPesq=
uisarProcessos&amp;codFuncionalidade=3D26"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
title=3D"Pesquisar=20
  Processos e=20
  =
Associa=E7=F5es"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
  target=3D"frameContent"&gt;Pesquisar Processos e=20
  Associa=E7=F5es&lt;/a&gt;<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
  &lt;br/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp; &nbsp; <BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
  &lt;/td&gt;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;<BR>&nbsp;&nbsp;&nbsp;=20
  =
&lt;/tr&gt;<BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR><BR>Could=20
  Anyone help me??<BR><BR>Regards,<BR></DIV>-- <BR>Juliane=20
Botelho<BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0054_01C68A80.C355E0B0--