Hi Michael, Gary could use XPath to find the link which specifies the href-attribute, he already knows. But I have to object on the matter of your webtest losing flexibility in terms of adress-dependency unless you create an appropriate XPath-Statement which will provide thus.
Cheerio, Jan > Date: Sat, 13 Dec 2008 15:40:06 +0100 > From: Michael Habbert <mich...@kelikami.de> > To: webtest@lists.canoo.com > Subject: Re: [Webtest] Finding a link > Reply-To: webtest@lists.canoo.com > Reply-To: Michael Habbert <mich...@kelikami.de> > > Hi Gary, > > so how would you find the right one? > Webtest will take the first one a.f.i.k. > We did enrich the links with html-IDs and identified them by this IDs. > > yours > > Michael > > > Gary Jones schrieb: >> If I have a page which I am trying to test, where I have several links >> called "foo" (for example), how can I find the right one? I know what >> the target of the link should be, and I was wondering if I could use >> that somehow. >> >> TIA. _______________________________________________ WebTest mailing list WebTest@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest