9 messages in com.canoo.lists.webtestRe: [Webtest] I'm back to WebTest & q...| From | Sent On | Attachments |
|---|---|---|
| Siegfried Goeschl | 10 Feb 2006 05:59 | |
| Siegfried Goeschl | 10 Feb 2006 05:59 | |
| Dierk Koenig | 10 Feb 2006 06:12 | |
| Siegfried Goeschl | 10 Feb 2006 07:06 | |
| Dierk Koenig | 10 Feb 2006 07:23 | |
| Siegfried Goeschl | 22 Mar 2006 05:27 | |
| Paul King | 22 Mar 2006 05:49 | |
| Dierk Koenig | 22 Mar 2006 05:58 | |
| Siegfried Goeschl | 22 Mar 2006 07:37 |
| Subject: | Re: [Webtest] I'm back to WebTest & question regarding "clickLink" implementation ...![]() |
|---|---|
| From: | Siegfried Goeschl (sieg...@it20one.at) |
| Date: | 03/22/2006 05:27:35 AM |
| List: | com.canoo.lists.webtest |
Hi Dierk,
I came across the same problem (again) and it took a while to figure out the problem
+) I have a navigation bar containing link "Artist", "Genres", .... +) there is a quick name search facility providing links "A", "B", "C"
When I used <clickLink label="A"/> it pick up the "Artist" link and not my requested "A" - IMHO the current implementation looking for substring to locate the link is non-intuitive.
Your proposed workaorund <clickElement xpath="//a[text()='A']" /> but <clickLink> is still much more intuitive.
I would like to get my hands dirty by providing an extension to the <clickLink> step ...
+) <clickLink exactMatch="true" label="A"> would look for an exact match without using trim as previously proposed
+) updating the docs
Any suggestions
Siegfried Goeschl
Dierk Koenig wrote:
Hi Sigi,
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
;-)
I updated the Maven plug-in to work with the CC Build 1177 - the official release will take some time though
cool. To get around the snapshot problem with ibiblio we consider installing a 'repository' for the webtest pom under webtest.canoo.com. (no final decision, yet)
<a>Madonna & Otto Von Wernherr</a> <a>Fortress Madonna</a>
You have really interesting projects!
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.
Yep. that's on purpose, although the according doc seems to have vanished from the attribute description (?).
You can use <clickElement xpath="//a[text()='Madonna']" />
The purpose of the substring match in clickLink is to get around problems with excessive whitespace in the label.
cheers Mittie
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest




