Manish Sapariya
6/15/2007 10:35:00 AM
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