Hi folks,

I finally got an excuse to work with Canoo WebTest again by setting up a
continuous integration platform using CC, JUnit, Canoo WebTest and JMeter

1) Maven 1 Plugin for Canoo WebTest
================================================================

I updated the Maven plug-in to work with the CC Build 1177 - the
official release will take some time though


2) clickLink Implementation
================================================================

I got the following page

<a>Madonna & Otto Von Wernherr</a>
<a>Fortress Madonna</a>
<a>Madonna Hip Hop Massaker</a>
<a>Madonna</a>
<a>The Black Madonnas</a>
<a>Karaoke - Madonna</a>

I can only use the label and coded

<clickLink label="Madonna" />

but it always takes

<a>Madonna & Otto Von Wernherr</a>

looking at com.canoo.webtest.steps.request.ClickLink#179 reveals

if (getLabel() != null) {
    bRep = link.asText().indexOf(getLabel()) >= 0;
}

i.e. the implementation seems to be happy with a matching substring
therefore picking <a>Madonna & Otto Von Wernherr</a> and never the
<a>Madonna</a> in question.

This means I can never ever find the exact match for the label ... is
this a bug or feature?! Would it make sense to extend clickLink with
something to make my scenario work such as an attribute "exactMatch"?

Cheers,

SIegfried Goeschl


_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to