Attaching Watir to an Embedded IE Browser

Watir is a great tool for automating web tests. It controls IE through its COM interface. Unfortunately however, Watir has no easy method for attaching to an embedded IE window. Google searches on the topic have little to offer on the topic. One poster offers a solution which he/she thought would work but failed in the end.

I have yet to come up a working solution for attaching to the com interface of an embedded IE browser using ruby. However, you can attach to an embedded IE instance using autoit's UDF (User Defined Functions) library called IE.au3.

Testing Multiple Browsers with Selenium and Cucumber

Testing web applications can be a difficult task with the many complexities involved with current web technologies. At one time it was possible to test web applications without needing to rely on javascript at all. For this you could leverage java's htmlunit or even httpunit to write unit tests based on the source of a webpage. Javascript support in htmlunit was not the least bit usable on the web applications that I tested at my previous job, so it was completely off the table for the current project I'm responsible for testing.

Find Google Rank with Ruby

Have you ever wondered where your site ranks on google for a given search?

Try this ruby script out to find out (be nice with it!).
You'll need ruby installed of course. Also do a

gem install hpricot

since this requires the hpricot gem to be installed.

It will search up to 20 pages deep on google (I wouldn't recommended altering this since nobody is going to search more than 20 pages deep for your webpage).

Ubuntu 8.10 With Firewatir

Some kind Ruby Enthusiasts built a tool called Watir (Web Application Testing in Ruby) which basically allows you to programmatically control a web browser (Specifically Microsoft Internet Explorer). From a Software Quality Assurance standpoint this allows the developers to automate much of what is typically a manual process.

Largest subsequence

Ok so I was looking into possible interview questions for a job and I saw one was the problem of how to find the largest subsequence of integers in an array of positive and potentially negative integers.
For example, given the set of numbers:
2, -1, 3, 5, -10, 4, 8, -1,10, 2
the largest subsequence would be
4,8, -1,10,2 since it adds up to 23.

Drupal slow with separate Web and Database servers

If you are going to build drupal websites, I wouldn't recommend Dreamhost or any hosting service which splits the database and web server across multiple servers. Its not that I have a problem with dreamhost, its just that the negative performance implications of such a design imposes on database heavy applications.

When unlimited is too limiting

I've noticed a trend on the net to give "unlimited" of some kind of service. Whether its it's bandwidth for internet hosting, space for file storage, email storage, etc, there tends is always a catch. Lets be real, its impossible to have unlimited resources, every computer has its limits.

SM Hog Launched

It may have been over two weeks late but www.sm-hog.com was finally launched yesterday morning. It was quite a learning experience for me and everyone else involved.

Its nice to see a project develop into something more than just a bunch of html that nobody will use or appreciate. Hopefully the site will be used by the members.

Home

My name is Matt Wolfe and in my spare time I do freelance development and specialize in building CMS based websites. Specifically I've been building Drupal based websites because of its great facilities for optimizing SEO and its powerful modules. Through its taxonomy module, page title module, meta tag modules, every last detail of a site's content can be optimized for SEO without modifying any of the core system. Furthermore, Drupal provides the facilities for customers to manage their own websites without the need to know anything about programming, and typically very little to any knowledge of HTML. While pretty much any CMS provides the latter feature, I have yet to see any that provide the features of Drupal for managing content and optimizing SEO.