Anything that Element methods does you can do it with WIN32OLE object as well and perhaps a lot more than that. All you need to do is to find out what methods WIN32OLE object exposes.
- Angrez On Tue, Nov 24, 2009 at 1:44 AM, chhsiung <[email protected]> wrote: > > Hi > > I am trying to use element_by_xpath to retrieve objects to interact > with. However, because of WTR-343, element_by_xpath is returning > WIN32OLE objects so I don't have access to Element methods (like > append, clear, set, etc). > > I want to use element_by_xpath because I may have elements that are > "children" of other elements so I'd like to be able to construct > relative xpaths. (like Problem 3 in Angrez's post - > http://angrez.blogspot.com/2006/06/xpath-and-watir.html) > > Has anyone run into similar issues? Any workarounds? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
