Željko Filipin's Blog on Software and Testing

Test like you do not need the money.

Archive for September, 2007

Network Connections Pop Up

with 4 comments

nc.PNG

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.

io.PNG

Written by Željko Filipin

September 20th, 2007 at 9:44 am

Posted in Software

How to Scroll Internet Explorer with Watir

with 2 comments

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

scrollintoview.png

Written by Željko Filipin

September 13th, 2007 at 3:05 pm

Posted in Watir

NoMethodError: undefined method `copy’ for File:Class

with 5 comments

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.

Written by Željko Filipin

September 12th, 2007 at 9:00 am

Posted in Ruby