Our app uses GL. Here's a snippet of a page source:
<?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <!DOCTYPE window SYSTEM "chrome://zviewer/locale/zviewer.titles.dtd"> <!-- Window as main container--> <window id="zvwindow" title="Zv VideoGrid" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" zv_minimal_toolbar="true"> <!-- Strings used on this page --> <stringbundleset id="videogridbundle"> <stringbundle id="messages" src="chrome://zviewer/locale/videogridmessages.properties"/> </stringbundleset> <!-- HTML Favicons work with XUL as long as you include the html: prefix --> <html:link rel="icon" type="image/png" href="chrome://zvart/content/videogrid/icon.png" /> <!-- Script inclusion --> <script type="application/x-javascript" src="chrome://zvlib/content/zvpage.js"/> <script type="application/x-javascript" src="chrome://zvlib/content/zvwidgetdefs.js"/> <script type="application/x-javascript" src="chrome://zvlib/content/zvutils.js"/> <script type="application/x-javascript" src="tools.js"/> <script type="application/x-javascript" src="views.js"/> <script type="application/x-javascript" src="videogrid.js"/> <script type="application/x-javascript" src="videogridwidgets.js"/> <script type="application/x-javascript" src="indicators.js"/> <script type="application/x-javascript" src="../common/ui_utils.js"/> <!-- GL UI root --> <groot id="zv_groot"> .... How do I go about accessing these objects? I have tried require 'firewatir' include FireWatir ff=Firefox.new elems=ff.elements_by_xpath("//zvwindow") elems=ff.elements_by_xpath("//window") I feel like I'm missing some basic information. I also noticed this in some example code: "//*[name()='vgtile' and @label='hulu']" Why is it name() and @label and not @name and label()? Is name a function? Where is it defined? Is label an attribute? Isn't name an attribute also? And....in some places I see // and in others I see //* . Is the * required or not? ADVthanksANCE for any help/pointers/etc. Jeremy Mordkoff Director, QA, IT & Release ZeeVee, Inc. One Monarch Drive | Littleton, MA 01460 Office: 978.467.1395 x233 | Fax: 978.467.1404 Mobile: 978-257-2183 j...@zeevee.com <mailto:j...@zeevee.com> www.zeevee.com <http://www.zeevee.com/> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---