Does it have an id, name, or some text? Anything that's identifiable? You can certainly find it's index by poking through the dom using ie's dom explorer: http://www.microsoft.com/downloads/details.aspx?FamilyID=E59C3964-672D-4511-BB3E-2D5E1DB91038&displaylang=en
-Charley On 2/7/07, Lauren <[EMAIL PROTECTED]> wrote:
Hello Everyone, I am having trouble identifying an object in my web app. After trying several different attempts with ie.button.... I wanted to revert to: ie.button(:index, x).click the problem is that there can be any number of buttons before my button is reached. The button I want to identify is the last button on the page so I thought that I would try the brilliant idea of: ie.button(:index, -1).click However, this is not working either. My button is nested in a table. Any thoughts on how I can access/identify this object using 'index' or something else. Thanks for your help! --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6471&messageID=18330#18330 _______________________________________________ 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