Archive for September, 2007
Network Connections Pop Up
I recently reinstalled Windows XP Professional at my machine. After that, Network Connections pop up started appearing. Yesterday I finally found a way to get rid of it.
Internet Explorer 7 > Tools > Internet Options > Connections > Choose Settings if you need to configure a proxy server for a connection. > Never dial a connection > OK.
How to Scroll Internet Explorer with Watir
This is another gem from Watir General Google group.
How to scroll Internet Explorer with Watir?
require 'watir'
browser = Watir::IE.start('http://www.google.com')
browser.link(:text, 'About Google').document.scrollintoview

NoMethodError: undefined method `copy’ for File:Class
I wanted to copy a file from Ruby. Documentation for File#copy
said that
File.copy(from, to)
should work. But, I got this error message:
NoMethodError: undefined method `copy' for File:Class
Google search led me to ruby-talk post that said I should do:
require “ftools”
I am just surprised that documentation did not make that clear.
