[wtr-general] Re: how to click the open button in a microsoft window

2009-12-08 Thread orde
Take a look at this page (especially the usage for example #2): http://wiki.openqa.org/display/WTR/File+Downloads Use the click_no_wait method on the link that triggers the popup. Hope that helps. orde On Dec 8, 10:06 am, arihan sinha wrote: > Can you please try this below and let me know

Re: [wtr-general] Re: how to click the open button in a microsoft window

2009-12-08 Thread arihan sinha
Can you please try this below and let me know how i will proceed further after that . I need to click the cancel button or open button of that window. def test_powerpointslide $ie = Watir::IE.new $ie.set_fast_speed $ie.goto("http://content.nejm.org/";) $ie.link(:

[wtr-general] Re: how to click the open button in a microsoft window

2009-12-08 Thread mohe
Can you try this.? save_dialog.WinWait("File Download","",40) save_dialog.WinActivate("File Download") save_dialog.Send("{TAB}") 'Use this if you need to tab. save_dialog.Send("{Enter}") On Dec 8, 10:37 am, arihan sinha wrote: > I've the watir version 1.6.2 and when i added the code snippet