[ http://jira.openqa.org/browse/WTR-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19973#action_19973 ]
Ethan commented on WTR-343: --------------------------- I don't think that element_by_xpath / elements_by_xpath should be documented as watir API - they should be internal methods only. The API that should be used is container.element(:xpath, "some xpath"). > watirspec: element_by_xpath should return Watir::Element objects > ---------------------------------------------------------------- > > Key: WTR-343 > URL: http://jira.openqa.org/browse/WTR-343 > Project: Watir > Issue Type: Sub-task > Components: HTML Controls > Affects Versions: 1.6.2 > Environment: Watir::IE on WinXP > Reporter: Jari Bakken > Priority: Major > Fix For: Soon > > > 5) > WIN32OLERuntimeError in 'Browser#element_by_xpath finds submit buttons > matching the given xpath' > unknown property or method `exist?' > HRESULT error code:0x80020006 > Unknown name. > ./spec/watirspec/browser_spec.rb:201: > 6) > WIN32OLERuntimeError in 'Browser#element_by_xpath finds reset buttons > matching the given xpath' > unknown property or method `exist?' > HRESULT error code:0x80020006 > Unknown name. > ./spec/watirspec/browser_spec.rb:205: > 7) > WIN32OLERuntimeError in 'Browser#element_by_xpath finds image buttons > matching the given xpath' > unknown property or method `exist?' > HRESULT error code:0x80020006 > Unknown name. > ./spec/watirspec/browser_spec.rb:209: > 8) > WIN32OLERuntimeError in 'Browser#element_by_xpath finds the element matching > the given xpath' > unknown property or method `exist?' > HRESULT error code:0x80020006 > Unknown name. > ./spec/watirspec/browser_spec.rb:213: -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ Wtr-development mailing list Wtr-development@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development