Archive for the 'Technology' category

Ext JS & Selenium IDE

May 14, 2010 9:10 pm

This user extension makes ExtJS testable.  The only problem is you still have to set the ID of each component you use.  Otherwise minor code changes cause false positives in test cases and they’ll fail even though the test should have passed.  As long as you’re okay with setting all of you IDs, you’ll be alright!

We’re working on automating this in our sweet JavaScript framework based on ExtJS.  I hope we’ll eventually get to continuous integration based on Selenium scripts.

ExtJS is a cross-browser JavaScript library for building rich internet applications.
Selenium IDE has trouble testing apps written in ExtJS.

There are two reasons:

  • First, the DOM of ExtJS widget is complex, many elements have a dynamic id
  • Second, ExtJS is based on JavaScript context

via record and assert Ext JS – Selenium IDE – OpenQA Wiki

Help Spread IE6 Update

January 14, 2010 9:30 pm

Help kill Internet Explorer 6
IE6 is like an illness that just won’t go away, but we have the medicine.

IE6 Update looks like IE’s Information Bar, but instead of offering your visitors an ActiveX plugin, it offers a browser update.

via IE6 Update.

In my current position I do a lot of UI and frontend work.  Probably the toughest thing I do is try to support IE6.  We’re a large corporation and the software is used by other large corporations, meaning IE6 is a must.  It’s our default browser on all machines (Not that I ever use it though..), and is required for a lot of legacy systems.

Here are the top reasons I HATE IE6

  1. The box model is incorrect (requiring CSS hacks *,_, …you know the drill) This is my biggest complaint, I waste so much time trying to get things to work correctly in IE6, its so frustrating…
  2. There are no debugging tools (The web accessibility toolbar is crap for debugging and I can only do so much with Firebug Lite)
  3. It is ridiculously slow!
  4. Transparent PNG problem (well some work, but they have to be saved a certain way)

Fun With JavaScript

December 5, 2009 1:08 pm

A coworker shared this with me yesterday.  I though it was pretty neat, the best page I found was Google News.  (It doesn’t work in Chrome, so use Firefox)

1) Open any website which contains images

2) Copy below given code and paste on the  Address bar of the same browser window and press enter …………

3) All images will be floating randomly……

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI= document.images; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position=’absolute’; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5;*y1+i*y2+y3)*y4+y5}R++}setInterval(‘A()’,5); void(0)

Show me more… »

Tricks of the Trade by Matthew Baldwin

November 22, 2009 9:25 am

Here are some interesting job hacks that were mailed in to Matthew Baldwin…  These 3 apply to me :)

Desktop Support

When desktop support technicians resolve a ticket, they are usually required to document the cause and solution to the problem. Supervisors see these records, so you have to be professional, but can usually get away with using the acronym “PEBKAC” in situations where the user caused the initial problem. PEBKAC stands for “Problem Exists Between Keyboard and Chair.”

Software Tester

Because developers don’t expect testers to read through their code, doing so is a quick and easy way to find possible bugs. Look for comments like “// HACK” or “// fix this crap later.”

Technical Support

When helping someone fix their computer over the phone, and you want them to see if all the cables are plugged in correctly, don’t ask, “Have you checked to see if the cable is plugged in?” because the customer will always say, “Of course I did, do you think I’m a moron?” Instead say, “Remove the cable, blow the dust out of the connector, and plug it back in.” The customer will most likely reply, “Hey, it’s working now—I guess that dust really builds up in there!”

Show me more… »

Ghetto Hive!

November 15, 2009 3:52 pm

The world now has ghetto Hive!  Just what CouchDB needed..

Enter an idea: what if I could marry the ease of SQL to the flexibility of CouchDB? Actually, it was more like: what&apos;s the most amusing thing I could build after a day like today?

I&apos;m a big fan of perl: there&apos;s nothing perl can&apos;t do, and with a wonderful repository like CPAN throwing together a script that would make the devil himself shiver becomes an easy task. Sure, perl can be so messy and complex that it can&apos;t even be parsed, but like any language, under the right circumstances it can really shine.

An hour later, I had the beginnings of a masterpiece, a bridge between the worlds of SQL and NoSQL. It was the worst abuse of technology that I could think of: a SQL front-end to CouchDB.

via NoSQL meet SQL.

But seriously, its a neat script.

Get Adobe Flash player