From: jfry Date: 2007-06-20T00:30:13+09:00 Subject: Re: Watir problem On Jun 19, 2:34 am, Suresh Kumar wrote: > Suresh Kumar wrote: > > Manish Sapariya wrote: > >> Suresh Kumar wrote: > >>> I can't control the security information pop > >>> up. > >>> when i navigate to the login page of my web page it throws a pop up > >>> message "This page contains both secured and non secured items. Do you > >>> want to display?" > >>> How can i close that pop up alert????? > > >> If you are using watir 1.5 checkout the dialog_test.rb in unit tests > >> under ruby installation > >> directory. You will have to find the watir directory, its deep down the > >> hierarchy. > > >> It has several example to click on dialog which are invoked by > >> javascript. However same > >> logic can be used in you script by using click_no_wait method which > >> invokes the dialog. > > >> Hope this helps. > >> Regards, > >> Manish > > > Thanks manish. but i am using WATIR 1.4.1, where can i get WATIR 1.5. do > > you know the url? > > > Regards > > suresh > > I have downloaded Watir1.5 from open QA site.when i invoke click_no_wait > method, it opens one empty IE along with main IE instance and it closes > that empty IE on dialog.close.. what i have to do? > > /suresh > > -- > Posted viahttp://www.ruby-forum.com/. Hi Suresh, I haven't heard of folks having that issue before, but the best way to help troubleshoot your issue is if you forward your code to the list...and by far the best list to fwd it to is wtr- general@rubyforge.org. There are more folks answering watir questions on the watir list than in comp.lang.ruby. You can join it (and search the archives) here: http://rubyforge.org/mailman/listinfo/wtr-general Good luck, Jeff http://testingjeff.wordpress.com