Thanks for your presistance on this, Line 11 is the login line,
I have set Firefox to clear all personal data when exiting, and now I am seeing acurate error message related to the actual error lines. The next set of error messages is where I started with line 17 uncommented our, then I start over with line 19 uncommentedm then line 22 and so on Here is the Watir code 17 #ff.button(:value, "New").click 18 # failing 19 #ff.cell(:xpath, "//t...@contains(text, 'New')]/").click 20 #failing 21 #ff.cell(:xpath, "//td[contains(text, 'New')]/").click 22 #failing 23 #ff.cell(:xpath, "//t...@id='compose_button_label']/../").click 24 #failing 25 #ff.cell(:xpath, "//td[id='compose_button_label']/../").click 26 #failing 27 #ff.cell(:xpath, "//td[contains(text(), 'New')]/").click Here is the error log; >ruby LoginYahoo.rb C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ MozillaBaseElement.rb:967:in `assert_exists': Unable to locate element, using :value, "New" (Watir::Exception::UnknownObjectException) from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ MozillaBaseElement.rb:1112:in `click' from LoginYahoo.rb:17 >Exit code: 1 >ruby LoginYahoo.rb C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ MozillaBaseElement.rb:967:in `assert_exists': Unable to locate element, using :xpath, "//t...@contains(text, 'New')]/" (Watir::Exception::UnknownObjectException) from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ MozillaBaseElement.rb:1112:in `click' from LoginYahoo.rb:19 >Exit code: 1 >ruby LoginYahoo.rb C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ MozillaBaseElement.rb:967:in `assert_exists': Unable to locate element, using :xpath, "//td[contains(text, 'New')]/" (Watir::Exception::UnknownObjectException) from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ MozillaBaseElement.rb:1112:in `click' from LoginYahoo.rb:21 >Exit code: 1 >ruby LoginYahoo.rb C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ MozillaBaseElement.rb:967:in `assert_exists': Unable to locate element, using :xpath, "//td [...@id='compose_button_label']/../" (Watir::Exception::UnknownObjectException) from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ MozillaBaseElement.rb:1112:in `click' from LoginYahoo.rb:23 >Exit code: 1 >ruby LoginYahoo.rb C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ MozillaBaseElement.rb:967:in `assert_exists': Unable to locate element, using :xpath, "//td [id='compose_button_label']/../" (Watir::Exception::UnknownObjectException) from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ MozillaBaseElement.rb:1112:in `click' from LoginYahoo.rb:25 >Exit code: 1 >ruby LoginYahoo.rb C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ MozillaBaseElement.rb:967:in `assert_exists': Unable to locate element, using :xpath, "//td[contains(text(), 'New')]/" (Watir::Exception::UnknownObjectException) from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ MozillaBaseElement.rb:1112:in `click' from LoginYahoo.rb:27 >Exit code: 1 Using Firebug here is the inspected code; <div id="coreToolbar" class="axsToolbar" style="height: auto;" bbwidth="161"> <table id="btnTbl_launch:send_and_receive_all" class="buttonTable axsButton" cellpadding="0" title="Check for new mail (m)" boid="undefined_launch:send_and_receive_all" cmd="launch:send_and_receive_all" state="normal" style="" onmouseover="Uo.Z(event, this)" unselectable="on"> <tbody> <tr> <td class="leftCap" style="width: 3px;" unselectable="on"> <div style="width: 3px; visibility: hidden;"/> </td> <td class="buttonIconCell" unselectable="on"> <div class="button" style="background-position: -1700px 0px;" unselectable="on"/> </td> <td id="check_mail_button_label" class="labelCell" nowrap="" unselectable="on">Check Mail</td> <td class="rightCap" style="width: 3px;" unselectable="on"> <div style="width: 3px; visibility: hidden;"/> </td> </tr> </tbody> </table> <table id="btnTbl_compose:new_message" class="comboButton axsButton axsOwns_compose_menu axsHasPopup" cellpadding="0" title="Write a new mail message (n)" boid="undefined_compose:new_message" cmd="compose:new_message" state="normal" style="" onmouseover="Uo.Z (event, this)" unselectable="on"> <tbody> <tr> <td class="leftCap" style="width: 3px;" unselectable="on"> <div style="width: 3px; visibility: hidden;"/> </td> <td class="buttonIconCell" unselectable="on"> <div class="button" style="background-position: -1730px 0px;" unselectable="on"/> </td> <td id="compose_button_label" class="labelCell" nowrap="" unselectable="on">New</td> <td class="dropDownLeftCap" unselectable="on"> <div style="width: 2px; visibility: hidden;"/> </td> <td class="dropDownIconCell" unselectable="on"> <div id="compose_button_combo" class="comboArrow" unselectable="on"/> </td> <td class="rightCap" style="width: 3px;" unselectable="on"> <div style="width: 3px; visibility: hidden;"/> </td> </tr> </tbody> </table> </div> I am using SciTE, I saw that someone said their script worked in the cmd window, but not is SciTE. I can try that if you think it might help. Thanks again, Carl --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---