Using jQuery to implement a web test drive Engine to replace Selenium Core
Hi,
I am the team lead for the tellurium automated testing framework (tellurium) open source project. One big challenge for us is to implement a new web test drive engine so that we can implement our own test concepts instead of relying on Selenium core.
The main conceptual difference between Tellurium and Selenium is that Tellurium focuses on a nested UI elements or a UI widget instead of each individual UI element. In this way, we can do group locating to find all the UI elements as a whole and cache them for later access. At the same time, we like to keep Selenium APIs, but use jQuery to re-implement them to have very clean code and integrate with our other ideas such as Macro command and UI module partial match for better test performance and test robust.
jQuery is perfect for us to hide browser details and focus on the real functionalities we want to work on. For example, the mouseOver method in Selenium core can be replaced by the following very clear code,
TelluriumApi.prototype.mouseOver = function(locator){
var element = this.cacheAwareLocate(locator);
teJQuery(element).trigger('mouseover');
};
We have a prototype Engine project, which used jQuery a lot for DOM manipulation and event handling, and released the RC1 version today. But there are way too many tasks to implement all the Selenium APIs. Due to limited resource, we really welcome jQuery developers to join our DEV team to help us to build the new Engine.
Does this sound interesting? If you are interested, please contact me.
Thanks in advance,
John