I have an XPath Value:
String FIRST_ITEM_XPATH = "text(//t...@class='listItem',
first()]/a[first()])"


Here is the generated html on the page I am testing that I want to get:


                    <tbody>
                        <tr class="odd">

                            <td class="listItem"><a
href="/divr/contextConfig/show/1
<view-source:http://localhost:8080/divr/contextConfig/show/1>">*1*</a></td>

                            <td></td>

<td>performDeviceRefreshBySerialNumber_CTIMEOUT</td>

                            <td>10</td>
                            <td></td>

                        </tr>



Basically, I want the Name of the first link so I can click that link.

How can I assign this to a variable, then us it like:

clickLink(label:'${firstLink}') // or something like this...?



---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://www.baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---

Reply via email to