Hi Sven,
Try putting /tbody/ between the /table/ and /tr/ tags...
Is that the shortest xpath you can use to reference the cell your
looking for...? If you can find a shorter xpath then it'll be easier to
use... Can you send a snippet of the HTML you're working on and maybe
someone on the list will be able to suggest a better xpath to use...
Cheers,
Colin.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sven Haiges
Sent: 05 February 2007 16:01
To: Webtest Mailing List
Subject: [Webtest] storeXPath Problem
HI all,
I am running into a storeXPatch problem:
<storeXPath description="Extract href the id of this advertisement"
xpath="string(//table[3]/tr[2]/td[1]/table[1]/tr[1]/td[2])"
property="adId" />
I verified the xpath expression with the xpath explorer. But later in
the test, I cannot reference #{adId}
Any ideas? from the archives, it seems there are known issues for this.
Is there a workaround? Using 2.1 on Win
Cheers,
Sven
--
Sven Haiges
[EMAIL PROTECTED]
Skype: hansamann
Personal Homepage, Wiki & Blog: http://www.svenhaiges.de
Subscribe to the Grails Podcast:
http://hansamann.podspot.de/rss