Hi Angrez,

 

Here is the html file.

 

Thanks,

Rajan


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angrez Singh
Sent: Tuesday, December 27, 2005 10:52 AM
To: [email protected]
Subject: Re: [Wtr-general] how to install Watir for the x-path support...

 

Hi Pat,

Just check once again if you are using latest in the CVS. I browsed through the watir.rb file in CVS and it does contain method 'element_by_xpath' for IE class. Also div can be found using :xpath. Just make sure you are using the latest version of watir.rb file i.e. v1.269

Regards,
Angrez

On 12/27/05, Pat Cappelaere <[EMAIL PROTECTED]> wrote:

Angrez,

I am having a few problems with xpath.
I am trying to access an image tag buried with a div
I tried:
Div = @ie.div(:xpath, 'some path')
This returns "unknown way of finding a div

I also tried
Div = @ie.element_by_xpath('some path')
this returns undefined method "element_by_xpath" fro #<Watir:IE...

Thanks.
[I am using the latest in CVS]
Pat.



From: Angrez Singh <[EMAIL PROTECTED]>
Reply-To: <[email protected]>
Date: Mon, 26 Dec 2005 10:34:42 +0530
To: <[email protected]>
Subject: Re: [Wtr-general] how to install Watir for the x-path support...

Hi Roy,

Yes, you just need to change the files in the installation directory. Also read the document "Support for XPath in Watir.doc" under the doc section in CVS. You also need to replace two files in the REXML directory found under " [ruby installation directory]/lib/ruby/1.8/rexml ". The two files are " element.rb "  and " functions.rb ". These files are available on CVS under the directory " watir/watir/rexml ". Reply me if you want more help on that.

Regards,
Angrez

On 12/22/05, Roy Sin <[EMAIL PROTECTED]> wrote:

I downloaded the latest Watir tarball from CVS. How do I
get x-path to work on Windows. My current Watir install is
in C:\Program Files\Watir. Do I just take the files I
unzipped from Watir.tar.gz and put them in my current Watir
directory?

thanks

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com   <http://mail.yahoo.com>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

 


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

 

Title: ps0224/testdnn2/rajandec05 > Home ( Blue Sombrero 8.0 )

(First-Time Users)

(Already a member)
   
Welcome To: ps0224/testdnn2/rajandec05
 
Blue Sombrero Customer Support
Toll Free: 1-877-887-1042
Email: Support
 
   
 
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to