Hi,

Sorry my fault for not telling the correct way to get REXML. You can
download the Development [zip] which will download rexml_3.1.6.zip to your
machine. Unzip and run 'install.rb' file. Then try the code with comma
included.

Regards,
Angrez

On 3/30/07, rkkanneganti <[EMAIL PROTECTED]> wrote:

hi angrez

puts "## Element started"

# select element that has text "Mark as Read"
#element = ie.element_by_xpath("//lihttp://contains(.,'Mark as Read')")

ie.element_by_xpath("//li[contains(.,'Mark as Read')]")
---------> if comma(,) is included exception (undefined method `include?'
for nil:NilClass) is comming
----------> if comma(,) is not included exception ( wrong number of
arguments (1 for 2)) is comming

# Print properties of the element just to make sure you selected correct
element.
element.value
element.tagName
element.innerHTML

sorry for asking the dump question..downloaded the Rexml file with tgz
extension.but how to install it.. :) my system is not able to recognize
the file.

thanks
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to