If I remember correctly, you should put the $helper.push_confirm_button_ok() BEFORE the $ie.link( :url, /menu_delete_item/ ).click ... the explanation is that the helper then spawns the seperatethread/process that watches for the box to pop up. Then when youcilck it sees it ... Otherwise, it's already popped, so the helperdoesn't have anything to help with. ... hope that helps. j. On 9/28/05, Max Kononovich <[EMAIL PROTECTED]> wrote:>> Thanks for your help,>> And can you tell me how I can get digital Id having string> "http://xxx.xxx.net/admin/menus/edit_item/?menu_item_id=122">> And another question can you propose any way how I can click "ok" button on> the confirmation message. I try to use the following>> require 'watir/WindowHelper'> $helper = WindowHelper.new> $ie.link(:url, /menu_delete_item/).click> $helper.push_confirm_button_ok()>> When confirmation message appeares it wait for somthing. I click "Cancel"> manually and click link again after then it works. What heppens?>> Thanks,>> Max>> ________________________________> Вы уже с Yahoo!?> Испытайте обновленную и улучшенную Yahoo! Почту!> _______________________________________________> Wtr-general mailing list> [email protected]> http://rubyforge.org/mailman/listinfo/wtr-general>>>
--"http://ruby-lang.org -- do you ruby?" Jeff Wood _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
