I don't think you are looking at the right code. The error is from defining object using 'url', not from 'text'.
Michael ________________________________ From: Girish Jindal <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, December 2, 2008 12:21:08 AM Subject: [wtr-general] FireWatir: Link click error Hello, I am facing an issue using FireWatir. FireWatir is not able to click the link: ff.link(:text, "Sign Out").click. I am using Watir 1.6.1 It is throwing exception 1) Error: test_AccountOverview(Accounts): FireWatir::Exception::UnknownObjectException: Unable to locate object, using url and http://aaa3/client/AcctOverview.aspx C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.2.0/./MozillaBaseElement.rb:866:in `assert_exists' C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.2.0/./MozillaBaseElement.rb:1019:in `click' C:/WS/OLB/test-Multi/Accounts.rb:25:in `test_AccountOverview' Does anyone know why I am getting this error? How can I fixed? Thank you very much! Regards Girish --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
