8 messages in com.canoo.lists.webtestAW: [Webtest] Xpath expression
FromSent OnAttachments
Goldberger, Michael14 Nov 2006 09:00 
Marc Guillemot16 Nov 2006 00:57 
Goldberger, Michael17 Nov 2006 06:35 
Marc Guillemot23 Nov 2006 07:27 
Michael Habbert23 Nov 2006 07:48 
Marc Guillemot25 Nov 2006 02:15 
Michael Habbert26 Nov 2006 23:59 
Marc Guillemot27 Nov 2006 01:28 
Subject:AW: [Webtest] Xpath expression
From:Michael Habbert (Mich@netpioneer.de)
Date:11/26/2006 11:59:19 PM
List:com.canoo.lists.webtest

Hi Marc,

[...]

Hallo Michael,

can you be more precise?

I don't know how;-).

You can use some xpath exploring tool to play with your xpath expression (for instance with the xpath explorer of WebTestRecorder) to be sure to use the right one (take care that there are some small diferences with WebTest).

[...]

I'm trying to store the value of the second td-tag using

storeXPath, but by now I found no way to access the "wp-01023" value of the td-tag. The Xpath function text() is obviously not working. Is there any workaround?

<tr> <td class="tabelle" width="250">ChangeRequest-Nummer</td> <td class="tabelle" width="500">wp-01023</td> </tr>

Thanks for the advice, I examined the "xpath explorer" and he showed me: /some/path/to/element/text() or string(/some/path/to/element/) should give me the enclosing value of the td-tag (for me: wp-01023). This was not working in Webtest <storeXPath .../>. And I found no way to extract the inside value of the td-tag in webtest. Hopefully I'm clear enough?

Don't talk over a bug, mybe a missing feature. [...]

Thanks in advance ------------------------------------------------------------------------ Michael Habbert

Senior Developer Netpioneer GmbH, Beiertheimer Allee 18, D-76137 Karlsruhe