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

Reply via email to