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

Get Adobe Flash player