Probably you should install Development Kit from
http://rubyinstaller.org/download.html
--
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the
I’m trying to use XPATH to verify a string exists in a cell. There are
no frames on the page.
The HTML looks like this - td nowrap= class=rptNameTEXT I NEED
TO CAPTURE/td
How should I use xpath to get that text or to verify if that text
exists?
Thanks for you help.
BK
--
You received this
On Wed, Jan 27, 2010 at 3:58 PM, BK bkalt...@gmail.com wrote:
The HTML looks like this - td nowrap= class=rptNameTEXT I NEED
TO CAPTURE/td
How should I use xpath to get that text or to verify if that text
exists?
Why do you insist on using xpath if you do not know how to use it?
Without
Željko,
Thanks for referring to the firefox addon I was able to get the xpath for
the text element i'm trying to get.
Here is how it looks
/html/body/form/table/tbody/tr[2]/td/table/tbody/tr/td[3]/table/tbody/tr[2]/t...@class='rptName'
and position()=2]/text()
I tried using the second option you
On Wed, Jan 27, 2010 at 5:25 PM, Bharath bkalt...@gmail.com wrote:
$browser.cell(:xpath, //t...@class='rptName']/)
Watir::Exception::UnknownObjectException: Unable to locate element, using
:xpath, //t...@class='rptName']
XPath is black magic to me. I rarely use it and I always have to look up
Željko,
Thank you very much.
$browser.cell(:class='rptName').text worked for me.
but i when I have time i will try to work with xpath.
Thanks again
BK
On Wed, Jan 27, 2010 at 11:31 AM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Wed, Jan 27, 2010 at 5:25 PM, Bharath