Željko Filipin's Blog on Software and Testing

Test like you do not need the money.

Archive for March, 2007

Go To Page Feature in Microsoft Word

without comments

word.png

Recently I had to visually compare pdf and doc file. There was over one hundred pages of text. I used Adobe Reader for pdf file and Microsoft Word for doc file. I had to jump from page to page a lot (not sequential pages). Adobe Reader has “go to page” feature that I find very useful. I could not find it in Microsoft Word. I knew it had to be there, but it took me some time (and help from my wife) to find it. Here it is: “Edit > Go To…” or Ctrl+G. So simple.

Written by Željko Filipin

March 13th, 2007 at 12:00 pm

Posted in Software

I Do Not Want All My Internet Traffic to Go Over VPN

without comments

VPN

Few days ago I created another virtual private network (VPN) connection at my machine. All of my Internet traffic was going over that connection. Because I am connected to a machine located in Switzerland, sites that recognize that were giving me pages translated to German. My German is not so good, so I wanted to disable all my traffic going over VPN. My developer showed me how to do it a few months ago, but I forgot it. I have a really bad memory.

I could not reach him at the moment, so I searched all our instant message and e-mail conversation, but I could not find that information. I looked at VPN’s properties, but nothing looked familiar. I knew it is simple, but I just could not find it. So, I waited until he returned.

Now that I know it again, I just have to write it down. I will forget it.

Go to Network Connections, right click connection, Properties > Networking > This connection uses the following items > Internet Protocol (TCP/IP) > Properties > Advanced… > General > Use default gateway on remote network > uncheck.

Written by Željko Filipin

March 12th, 2007 at 4:58 pm

Posted in Software

Two Years with Ruby and Watir

without comments

dw-974859.jpg

According to Watir Users page at Watir wiki I have been using Ruby and Watir for two years. I checked SVN log, and the first entry is dated 11th March 2005. I checked out the code. There is 58 files in three folders. Tests are for two projects, and the biggest file has over 600 lines, so I guess I was writing scripts for month or two before I checked it into SVN.

By the way, the code is horrible. :) I have read somewhere that if you look at your old code and you do not think

What was I thinking when I wrote this?!?!

it means that you have not learned anything since then.

It has been interesting two years.

The picture is from http://www.allaboardtoys.com/assets/product_imagesm/DW-974859.jpg.

Written by Željko Filipin

March 2nd, 2007 at 5:58 pm

Posted in Watir