my probelm is tajt this element :
<table>
  <tr>
    <td>
         "Broj dokumenta"
        <div> CT-1212</div>
  </tr>
</table>

table can be  fond on different divs div[1], div[2], or div[3],
depends on messages which are showen in divs. When i found "Broj
dokumenta " by xpath "\\table\tr\td", i need to locate xpat path to
identify value in div  <div> CT-1212</div>. that why i neeed whole
xpath.

br,Dani


On 23 sep., 10:23, Željko Filipin <[email protected]>
wrote:
> On Wed, Sep 22, 2010 at 12:40 PM, Danijel <[email protected]> wrote:
> > I'm searching for elements for specified text. When i found this text-
> > element i should get Xpath of this element to locate anoher element
> > filled with Document Id .
> > Is any possibility xpath of element?
>
> I am not sure I understand the problem. Please post sample HTML and Watir
> code.
>
> Watir has xpath support, if that is what you want to know:
>
> http://wiki.openqa.org/display/WTR/XPath
>
> If English is the problem, contact me in Croatian off list (if you speak
> Croatian).
>
> Željko
> --
> watir.com - community manager
> watirpodcast.com - host
> testingpodcast.com - audio podcasts on software testing. all of them

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: [email protected]
To unsubscribe: [email protected]

Reply via email to