08.29.08

My other sites

Posted in Blogging, Podcasts, Software, Watir at 10:28 am by Željko Filipin

Wondering why I did not post anything here for a long time? I have been active at my other sites. Take a look if you want to know what is going on with me lately.

07.17.08

License

Posted in Software at 9:00 am by Željko Filipin

After years of blogging I finally picked a license.

Creative Commons License
Zeljko Filipin’s Blog on Software Testing by Zeljko Filipin is licensed under a Creative Commons Attribution 3.0 Croatia License.

07.10.08

Get rid Of “Press a key…” While Using Log Parser

Posted in Software at 9:00 am by Željko Filipin

As I said before, I use Log Parser a lot.

One thing that really annoyed me is Press a key... that would appear after each screen of results.

C:\>LogParser "SELECT text FROM errors.log"
[...]
Press a key…
[...]

It took me some time to get rid of it, so maybe this helps somebody. Use -rtp:-1 switch and there will be no more Press a key...

C:\>LogParser -rtp:-1 "SELECT text FROM errors.log"

07.03.08

Log Parser and Batch Files

Posted in Software at 1:52 pm by Željko Filipin

I am using Log Parser to parse log files. I parse a lot of files and I wanted to make a batch file that will do it for me.

I pasted my commands to a batch file, executed it, and to my surprise, it would parse the files but would not find anything.

This is content of my batch file:

LogParser "SELECT text FROM errors.log WHERE text LIKE '2008-%'"

When I execute it, it does not find anything:

C:\>parse_logs.cmd
C:\>LogParser "SELECT text FROM errors.log WHERE text LIKE '2008-'"


Statistics:
-----------
Elements processed: 34
Elements output: 0
Execution time: 0.02 seconds

When I executed the command from command prompt, Log Parser would find what I was looking for:

C:\>LogParser "SELECT text FROM errors.log WHERE text LIKE '2008-%'"

Statistics:
-----------
Elements processed: 34
Elements output: 24
Execution time: 0.02 seconds

I looked around, asked a few people but no luck.

I finally found the problem.

There is % in Log Parser SQL query:

LIKE '2008-%'

% represents variable in batch file, and if you take a closer look how batch file gets executed you will see that

LIKE '2008-%'

is executed as

LIKE '2008-'

I changed batch file to

LIKE '2008-%%'

and now it works.

05.28.08

Watir Podcast

Posted in Podcasts, Watir at 10:03 am by Željko Filipin

In the first episode Željko Filipin talks with Bret Pettichord about Watir and what it does and doesn’t do well. Bret describes how people are building frameworks with Watir and the reasons why Watir was created in the first place. Also included are his thoughts on recorders and open-source and his new company, WatirCraft.

More information at watirpodcast.com.

05.13.08

Watir Contributors

Posted in Watir at 4:22 pm by Željko Filipin

We were thinking about creating a page with all Watir contributors, and today I had a good enough reason to finally create it.

wiki.openqa.org/display/WTR/Contributors

Since I will not have the time to add all Watir contributors (answering questions at this list, writing documentation, code…), please add yourself to the page, and link to your contribution. If there are lots of them, just to the ones you are proud of. You can also add other people, just do not forget to link to the contribution.

05.12.08

Ruby on Beers 2

Posted in Events, Ruby at 1:01 pm by Željko Filipin

Ruby on Beers 2

The second Ruby on Beers happened yesterday. About 15 of us appeared, much more than I expected.

We were talking about Heroku, Git and Watir.

We did not have the time to talk about Unicode and RSpec, so we will talk about it the next time. There was interest in talking about Rubinius.

The next Ruby on Beers will probably happen at the same place (Multimedijalni institut, net.kulturni klub mama, Preradovićeva 18, Zagreb), at Saturday May 31st 2008 at 5 pm.

04.30.08

Twitter

Posted in Blogging at 5:43 pm by Željko Filipin

I started using Twitter two weeks ago. Take a look. twitter.com/zeljkofilipin

04.28.08

Edge of Network

Posted in Software at 12:30 pm by Željko Filipin

The software I am testing is built around the edge of network idea. Yesterday, edgeof.net site is launched. Visit it and see what it is all about.

04.24.08

Watir 1.5.4 is released

Posted in Watir at 9:39 am by Željko Filipin

Watir 1.5.4 is released.

« Previous entries