February 25, 2007
Xenu is your Friend
There are several tools that I reach for when testing sites. The first is almost always Tilman Hausherr's Xenu's Link Sleuth™. Xenu's Link Sleuth™ is a free Windows app that quickly and flexibly crawls your site for missing objects and generates easy to digest reports you can use to identify bad or stale links.
I often run Xenu on a new or potential client's site to get an idea of how large the site may be and what shape it's in; this helps us better understand the level of effort required to meet the client's needs, and gives us a head start when an RFP is short on detail.
Speaking of reports, you get three: available in the application itself, exported as tab-delimited format, or in html format.
When viewed in the application, you can sort columns; sorting by error type allows you to quickly identify your problem areas. Tab-delimited exports are useful when you want to isolate sections in a spreadsheet. The html report lets you view your broken links ordered by link or page, separately lists redirected and ftp url, orphan files and presents useful stats on scanned site content.
Xenu's Link Sleuth™ is eminently useful, straightforward, wickedly fast, and free; a combination that can't be beat and I could hardly recommend it more.
February 18, 2007
If you have an email account that supports plus addressing, it's trivial to create and manage unique email addresses that can be used for test purposes. Instead of asking your administrator to create multiple test accounts or aliases, simply format your address like so:
firstname.lastname@example.org...and so on. Neat trick this, however, there are a couple things to be aware of.
While plus sending works with many mail transfer agents, Exchange users are presently out of luck due to a proprietary use of the plus symbol, and will have to use alternate accounts. One easy approach is to create a free Gmail account, which has just come out of beta and is now available to everyone. Webmail accounts like Gmail are also generally accessible from behind corporate firewalls.
Once you have an account that works with plus addressing, you may find that the application you are testing refuses email addresses containing the "+" symbol. Ask your developer to allow the "+" symbol in their validation code -- afaict, there are no security issues with doing so, and not allowing the character may actually result in blocking potential users.
I first came across this tip as a way to manage your exposure to spam. The idea is to use plus addressing whenever supplying your email address to sites or services of unknown integrity. If you use the site/service name as the second half of your plus address, and if that address then becomes overrun with spam, you can filter the account to your trash folder and know who to blame.
February 17, 2007
Meet MacNikto Again
I've just posted MacNikto 1.01 on the MacNikto site.
The impetus for the release was this week's update of Nikto 1.36 [Changes]. While I was at it, I added a minor usability tweak to make the Auto-save checkbox self-select when a report save location is set. Usability is all about saving the user unnecessary steps, right?
February 4, 2007
IE6 + IE7 Virtual Love
IE 7's market share is growing quickly, still, developers will continue to need to test layouts and DHTML on IE 6 for some time to come. Sadly, there is no reliable way to run both IE 6 and IE 7 on the same OS. Multiple machines, or multiple virtual machines, is the only way to ensure a real-life testing environment.
Obviously, buying multiple machines or OS licenses incur costs. In recognition of this, Microsoft released a free VPC virtual machine containing a pre-activated WinXPSP2 w/IE 6 for your testing pleasure. Microsoft already offers Virtual PC for Windows for free, and is investigating releasing similar VPC images for older IE versions.
NOTE: The free image will time bomb on April 1st(!); presumably Microsoft will release a new image around then with a new time bomb date.