SoftwareTesting:Watir and Firefox

From MozillaWiki
Jump to: navigation, search

FireWatir

FireWatir is a port of Watir to the Mozilla framework. By leveraging JSSh and Ruby, it enables Mozilla client-developers to unit-test their Mozilla clients over local and remote TCP/IP connection.

FireWatir, one intuitively feels, is our one best hope.

Watir

From the Watir home page

WATIR stands for "Web Application Testing in Ruby". Watir is a free, open-source functional testing tool for automating browser-based tests of web applications. It is pronounced water.
Watir drives the Internet Explorer browser the same way people do. It clicks links, fills in forms, presses buttons. Watir also checks results, such as whether expected text appears on the page.
Watir is a Ruby library that works with Internet Explorer on Windows. Like other powerful programming languages, Ruby gives you the power to connect to databases, read data files, export XML and structure your code into reusable libraries.

Wouldn't it be great if Watir could drive Firefox, too? Then Watir could be used on Windows, Mac, Linux, and other operating systems where Firefox and Ruby have been ported.

Articles

  • wtr-general archives - [1]

Research

    • looks like Amit Garde and Stefan Champailler are making some progress
  • jssh home page
    • Instructions for building Firefox with jssh
    • jssh can also be built as a stand-alone .xpi - instructions forthcoming