PROTECTED] [mailto:[EMAIL PROTECTED]] *On Behalf Of *Angrez Singh
*Sent:* Monday, September 18, 2006 10:38 PM *To:* wtr-general@rubyforge.org *Subject:* Re: [Wtr-general] Problem with element_by_xpath? Hi Alan,
The way you are using XPath query is not the correct way. You can take the help
PROTECTED]] *On Behalf Of *Angrez
Singh
*Sent:* Monday, September 18, 2006 10:38 PM
*To:* wtr-general@rubyforge.org mailto:wtr-general@rubyforge.org
*Subject:* Re: [Wtr-general] Problem with element_by_xpath?
Hi Alan,
The way you are using XPath query
Alan Ark wrote:
Hi folks.
I was using the element_by_xpath to try to interact with FreeTextBox (FTB).
FTB is a ASP.NET component that allows users to do some online editing.
Supposedly there is an interface that I can use to interact with it, and I
wanted to see if I actually could in my
Hi Alan,The way you are using XPath query is not the correct way. You can take the help of this tutorial to write correct XPath _expression_:http://www.w3schools.com/xpath/default.asp
In your case the correct XPath _expression_ would be:element = ie.element_by_xpath(//[EMAIL PROTECTED]'q'])First
to investigate this a
little more on my end.
Thanks
-Alan
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angrez Singh
Sent: Monday, September 18, 2006
10:38 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Problem
with element_by_xpath?
Hi Alan,
The way you
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *On Behalf Of *Angrez Singh
*Sent:* Monday, September 18, 2006 10:38 PM
*To:* wtr-general@rubyforge.org
*Subject:* Re: [Wtr-general] Problem with element_by_xpath?
Hi Alan,
The way
Hi Alan,Could you send me the HTML source so that I can have more detailed look into it?Regards,AngrezOn 9/16/06, Alan Ark
[EMAIL PROTECTED] wrote:
Hi folks.
I am having a problem getting element_by_xpath to work
cleanly.
Windoze XP pro
Ruby 1.8.5 – One click installer.
Hi folks.
I am having a problem getting element_by_xpath to work
cleanly.
Windoze XP pro
Ruby 1.8.5 One click installer.
Watir 1.5.1.1081 gem install
Rexml 3.1.5
Ive attached by browser to google.com.
From irb :
elem=ie.element_by_xpath(//[EMAIL PROTECTED])
returns