[wtr-general] Re: Get Xpath of Element

2010-09-24 Thread Danijel
Thanks for you answer,

I solved wiht Xpath contains(text(),'Broj dokumenta'), Rajvi helped me
to solv this problem.

br,Dani

On 23 sep., 14:12, Angrez Singh ang...@gmail.com wrote:
 For IE:
 You can use Internet Explorer Developer tool, its inbuilt in Internet
 Explorer 8. You can launch it by opening IE and then pressing F12

 For Firefox:
 Firebug :https://addons.mozilla.org/en-US/firefox/addon/1843/
 XPather :http://xpath.alephzarro.com/

 Thanks,
 AngrezOn Thu, Sep 23, 2010 at 2:27 PM, Danijel danijel.vuko...@gmail.com 
 wrote:
  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 zeljko.fili...@wa-research.ch
  wrote:
   On Wed, Sep 22, 2010 at 12:40 PM, Danijel danijel.vuko...@gmail.com
  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 readhttp://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: watir-general@googlegroups.com
  To unsubscribe: 
  watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com

-- 
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: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Re: Get Xpath of Element

2010-09-23 Thread Angrez Singh
For IE:
You can use Internet Explorer Developer tool, its inbuilt in Internet
Explorer 8. You can launch it by opening IE and then pressing F12

For Firefox:
Firebug : https://addons.mozilla.org/en-US/firefox/addon/1843/
XPather : http://xpath.alephzarro.com/

Thanks,
Angrez

On Thu, Sep 23, 2010 at 2:27 PM, Danijel danijel.vuko...@gmail.com wrote:

 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 zeljko.fili...@wa-research.ch
 wrote:
  On Wed, Sep 22, 2010 at 12:40 PM, Danijel danijel.vuko...@gmail.com
 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: watir-general@googlegroups.com
 To unsubscribe: 
 watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com


-- 
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: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com