[Webtest] Re: Clicklink no longer works with href?
Patrick Schreibing
webtest@lists.canoo.com
Mon, 3 Jan 2005 10:00:04 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_0000_01C4F17B.02EF38C0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
First of all : The best wishes for this year 2005.
Re: Clicklink no longer works with href?
Hello, I'm using canoo webtest (and a newbie) and it is a great product to
test with. But I have a problem using the clicklink functionality.
Is it possible to put the code (wich is below) into clicklink.java for the
next build so I can use it ???? Please ????
I haven't managed to compile and TEST the code by myself because I'm very
new to it.
> Matt Raible wrote:
>
>> I have the following link that I want to click on with WebTest:
>>
>> <a href="javascript:viewUser('1')">1</a>
>>
>> But when I try to click it with build 584 (downloaded today), I get an
>> error:
>>
>> <clicklink href="viewUser"/>
>>
>> Exception raised: com.canoo.webtest.engine.StepExecutionException:
>> "htmliId" or
>> "label" must be set!, Step: ClickLink at
>> /Users/mraible/workspace/equinox-jsf-ch
>> 11/test/web-tests.xml:41: with (href="viewUser", stepId="<unknown>",
>> stepType="
>> clicklink")com.canoo.webtest.engine.StepExecutionException: "htmliId"
>> or "label"
>> must be set!, Step: ClickLink at
>> /Users/mraible/workspace/equinox-jsf-ch11/test
>> /web-tests.xml:41: with (href="viewUser", stepId="<unknown>",
>> stepType="clickli
>> nk")
>> at
>> com.canoo.webtest.steps.request.ClickLink.verifyParameters(ClickLink.
>> java:230)
>>
>> According to the documentation (and previous working tests), using
>> href instead of label or htmlid should be valid. Is there any other
>> way to click on the first link in a table when I don't know what the
>> value will be?
>>
>> Thanks,
>>
>> Matt
>>
>
>
> ------------------------------------------------------------------------
>
> Index: src/com/canoo/webtest/steps/request/ClickLink.java
> ===================================================================
> RCS file:
/repositories/cvs/public/webtest/src/com/canoo/webtest/steps/request/ClickLi
nk.java,v
> retrieving revision 1.18
> diff -b -u -r1.18 ClickLink.java
> --- src/com/canoo/webtest/steps/request/ClickLink.java 29 Nov 2004
09:15:06 -0000 1.18
> +++ src/com/canoo/webtest/steps/request/ClickLink.java 17 Dec 2004
23:20:34 -0000
> @@ -168,14 +168,16 @@
> }
>
> protected boolean isMatching(final HtmlAnchor link) {
> - boolean bRep = link.asText().indexOf(getLabel()) >= 0;
> + boolean bRep = false;
> + if (getLabel() != null)
> + bRep = link.asText().indexOf(getLabel()) >= 0;
> LOG.debug("labelFound = " + bRep + " in " + link.asText());
> if (getHref() == null)
> return bRep;
>
> boolean bHrefFound = link.getHrefAttribute().indexOf(getHref())
>= 0;
> LOG.debug("hrefFound = " + bHrefFound + " in " +
link.getHrefAttribute() );
> - return bRep && bHrefFound;
> + return bHrefFound;
> }
>
> public String getHref() {
> @@ -226,8 +228,8 @@
>
> protected void verifyParameters()
> {
> - if (getLabel() == null && getHtmlId() == null)
> - throw new StepExecutionException("\"htmliId\" or
\"label\" must be set!", this);
> + if (getLabel() == null && getHtmlId() == null && getHref() ==
null)
> + throw new StepExecutionException("\"htmliId\",
\"label\" or \"href\" must be set!", this);
> }
>
> }
With kind regards,
Patrick Schreibing
------=_NextPart_000_0000_01C4F17B.02EF38C0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
pre
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>First of all : <b><i><u><span =
style=3D'font-weight:bold;font-style:italic'>The
best wishes for this year =
2005</span></u></i></b>.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Re: Clicklink no longer works with =
href?<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Hello, I’m using canoo webtest (and a newbie) and it is a =
great
product to test with. But I have a problem using the clicklink =
functionality.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Is it possible to put the code (wich is below) into =
clicklink.java for
the next build so I can use it ???? Please =
????<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>I haven’t managed to compile and TEST the code by myself =
because
I’m very new to it.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<pre><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> Matt Raible =
wrote:<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> I have the following link that I want to =
click on with =
WebTest:<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'><o:p> </o:p></span></i></span></font></p=
re><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> <a =
href=3D"javascript:viewUser('1')">1</a><o:p></o:p></sp=
an></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'><o:p> </o:p></span></i></span></font></p=
re><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> But when I try to click it with build 584 =
(downloaded today), I get an =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> =
error:<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'><o:p> </o:p></span></i></span></font></p=
re><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> <clicklink =
href=3D"viewUser"/><o:p></o:p></span></i></span></font></pre=
><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'><o:p> </o:p></span></i></span></font></p=
re><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> Exception raised: =
com.canoo.webtest.engine.StepExecutionException: =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> "htmliId" =
or<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> "label" must be set!, Step: =
ClickLink at <o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> =
/Users/mraible/workspace/equinox-jsf-ch<o:p></o:p></span></i></span></fon=
t></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> 11/test/web-tests.xml:41: with =
(href=3D"viewUser", stepId=3D"<unknown>", =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> =
stepType=3D"<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> =
clicklink")com.canoo.webtest.engine.StepExecutionException: =
"htmliId" <o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> or =
"label"<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> must be set!, Step: ClickLink at =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> =
/Users/mraible/workspace/equinox-jsf-ch11/test<o:p></o:p></span></i></spa=
n></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> /web-tests.xml:41: with =
(href=3D"viewUser", stepId=3D"<unknown>", =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> =
stepType=3D"clickli<o:p></o:p></span></i></span></font></pre><pre><f=
ont
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> =
nk")<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> =
at <o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> =
com.canoo.webtest.steps.request.ClickLink.verifyParameters(ClickLink.<o:p=
></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> =
java:230)<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'><o:p> </o:p></span></i></span></font></p=
re><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> According to the documentation (and =
previous working tests), using =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> href instead of label or htmlid should be =
valid. Is there any other =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> way to click on the first link in a table =
when I don't know what the =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> value will =
be?<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'><o:p> </o:p></span></i></span></font></p=
re><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> =
Thanks,<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'><o:p> </o:p></span></i></span></font></p=
re><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'> =
Matt<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>>><i><span
style=3D'font-style:italic'><o:p> </o:p></span></i></span></font></p=
re><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
------------------------------------------------------------------------<=
o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> Index: =
src/com/canoo/webtest/steps/request/ClickLink.java<o:p></o:p></span></i><=
/span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
=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=3D=3D=3D<o:p></o:p></span></i>=
</span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> RCS file: =
/repositories/cvs/public/webtest/src/com/canoo/webtest/steps/request/Clic=
kLink.java,v<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> retrieving revision =
1.18<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> diff -b -u -r1.18 =
ClickLink.java<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> --- =
src/com/canoo/webtest/steps/request/ClickLink.java  =
; 29 Nov 2004 09:15:06 -0000 =
1.18<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> +++ =
src/com/canoo/webtest/steps/request/ClickLink.java  =
; 17 Dec 2004 23:20:34 =
-0000<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> @@ -168,14 +168,16 =
@@<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
}<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> protected =
boolean isMatching(final HtmlAnchor link) =
{<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> - =
boolean bRep =3D link.asText().indexOf(getLabel()) >=3D =
0;<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> + =
boolean bRep =3D =
false;<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> + =
if (getLabel() !=3D null) =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
+ bRep =
=3D link.asText().indexOf(getLabel()) >=3D =
0;<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> &nb=
sp; LOG.debug("labelFound =3D " + bRep + " in =
" + =
link.asText());<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> &nb=
sp; if (getHref() =3D=3D =
null)<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> &nb=
sp; return =
bRep;<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> &nb=
sp; <o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> &nb=
sp; boolean bHrefFound =3D =
link.getHrefAttribute().indexOf(getHref()) >=3D =
0;<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> &nb=
sp; LOG.debug("hrefFound =3D " + bHrefFound + " in =
" + link.getHrefAttribute() =
);<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> - =
return bRep && =
bHrefFound;<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> + =
return bHrefFound;<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
}<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> public String =
getHref() {<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> @@ -226,8 +228,8 =
@@<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> protected =
void =
verifyParameters()<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
{<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
- if =
(getLabel() =3D=3D null && getHtmlId() =3D=3D =
null)<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
- =
throw new =
StepExecutionException("\"htmliId\" or =
\"label\" must be set!", =
this);<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
+ if =
(getLabel() =3D=3D null && getHtmlId() =3D=3D null && =
getHref() =3D=3D =
null)<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
+ =
throw new =
StepExecutionException("\"htmliId\", \"label\" =
or \"href\" must be set!", =
this);<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
}<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>><i><span
style=3D'font-style:italic'> =
}<o:p></o:p></span></i></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><fon=
t
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p> </o:p></span></font></pre>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><!--endarticle-->With kind regards,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Patrick Schreibing<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
------=_NextPart_000_0000_01C4F17B.02EF38C0--