WET Web Tester

WET Web Tester [ [http://wet.qantom.org Commercial Grade Web Automation Testing offering an Opensource alternative to Quicktest and Silktest ] ] is a web testing tool that drives an IE Browser directly and so the automated testing done is equivalent to how a user would drive the web pages. The tool allows a user to perform all the operations required for testing web applications - like automatically clicking a link, entering text in a text field, clicking a button etc. One may also perform various checks as a part of the testing process by using Checkpoints. The latest version of WET is 0.9.8.

WET sits on top of Watir [ [http://wtr.rubyforge.org Watir - Overview ] ] , an automated test tool which uses the Ruby scripting language. WET retains all the features that Watir has and adds many usability related functionality like Data table support, Object depot (aka object repository) and inbuilt Html reporting

History

WET started off as an Extension Toolkit to Watir, a framework for Web testing, released as an opensource product and called it as WET (Watir Extension Toolkit).

Technical details

Working Principle

A UI Test automation is conventionally done by either using a record and playback technique or by scripting completely.
* In the record-playback technique, the tool automatically captures the events generated by the tester's actions and converts them to test scripts. These scripts can then be played back subsequently. While the record and playback technique allows testers to quickly create tests, experienced testers tend to detest using this approach due to the reliability and maintainability problem posed by these. [ [http://www.io.com/~wazmo/blog/archives/2005_08.html Testing Hotlist Update: August 2005 Archives ] ] .
* The scripting technique relies on an experienced tester writing test scripts from the scratch. Experienced test automation engineers follow a complete software engineer process and treat the test automation effort as another development effort. While this technique offers the advantages of a well maintanable and reliable code, it suffers from certain drawbacks like requiring a greater experience pool, a larger budget, etc., [ [http://www.psqtconference.com/2004east/tracks/Tuesday/GuidelinesforScriptingLanguagesPaper.pdf Guidelines for Scripting languages in Test Automation ] ]

The third technique is a "middle" solution that offers some of the conveniences of recorders while retaining the complete scripting power. WET has adopted this technique, called as the Proxied UI technique for test automation. Using this methodology, a tester instructs an IE browser (using some sort of a wizard) to perform various steps like clicking a link, setting text in a textfield, selecting a list box, etc. The tool then converts these instructions to test scripts. Unlike the recorders, where scripts are generated by the tool automatically based on the actions that the user performed on the actual browser, in this case scripts are created only when the tester asks the tool to do so. This by itself increases the accuracy of the generated scripts. Using these scripts as the baseline, a tester can increase the test coverage by writing scripts to suit his application under test. [ [http://wet.qantom.org/uiproxy_philosophy.html Test Automation with the ease of recording ] ]

Be it a total scripting, record and playback or the Proxied UI solution, each comes with its own benefits and liabilitieshttp://www.satisfice.com/articles/test_automation_snake_oil.pdf] . One advantage of the Proxied UI technique is that it gives control to the tester to decide how much of script generation is to be used vs. how much of hand written scripts. This is a decision that needs to be taken based on the application under test and the test coverage required. In a good project, there should be a proper mix between these techniques so that the benefits of each technique can be availed. [http://www.benchmarkqa.com/pdf/papers_automation_myths.pdf] &

----

Features

The following are the important features of WET:

* WET UI - Priliminary Script development can be done using the WET UI which is easy to use. Using the WET UI, a tester can create Test Definitions, Object Repositories and the first draft of the test scripts.
* Scripting using Ruby - WET uses Ruby, an object oriented scripting language, which in turns gives WET a powerful scripting ability
* Object depot - The Object depot (aka Object Repository) allows a tester to map all the application's objects into centralized repositories. This helps in a higher maintanibility of scripts.
* Object identification using multiple parameters - Many web pages are designed in such a way that the same page has elements with similar attribtues - For example, there may be textfields with the label 'name' - one may be for the User's name while the other may be for the Developer's name. WET allows a tester to identify even these kind of objects by letting to search for objects using multiple parameters.
* 'Test definitions' to define tests - The structure and flow of a WET test is controlled by a "test definitions" file. This flow closely mimics the regular manual testing process.
* Slick HTML results - After the tests are completed, the results are printed out in neat HTML Format
* Integrated Datatable support - Testers can write datadriven tests by using the Integrated datatable support. Datatables can either be as Excel files or an Xml format.
* Popup handling - WET handles Win32 popups quite reliably.

Limitations

The following are some shortcomings in WET:

* Supports only the IE browser. Cannot be used for compatibility testing.
* The Simulated browser view of WET doesn't work accurately for a complex pages. For these sort of pages, one has to view objects in a tree view only.
* No integration with SCM / bug tracking tools
* Does not have support for keyword driven tests

References

ee also

* Lightweight Software Test Automation
* Ruby (programming language)
* Test automation
* Test-driven development
* iMacros
* Watir

External links

* [http://wet.qantom.org Home page of WET] -
* [http://openqa.org/Wet Project page of WET]
* [http://wtr.rubyforge.org Rubyforge Homepage for Watir]
* [http://www.io.com/~wazmo/blog/archives/2005_08.html Bret Pettichord' review about WET]


Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Wet — could refer to: * The condition of being liquid or being covered in liquid * Wet (album), an album released in 1979 by Barbra Streisand * The wets, moderate members of the British Conservative Party * Phencyclidine (PCP), a dissociative… …   Wikipedia

  • Watir — Infobox Software name = Watir caption = developer = latest release version = 1.5 latest release date = September 28, 2007 latest preview version = latest preview date = operating system = platform = genre = Web Application Testing in Ruby license …   Wikipedia

  • Usability Test — Ein Usability Test wird durchgeführt, um die Gebrauchstauglichkeit einer Software oder Hardware mit den potenziellen Benutzern zu überprüfen. Er gehört zu den Techniken der empirischen Softwareevaluation, im Gegensatz zu analytischen Verfahren… …   Deutsch Wikipedia

  • Usability Testing — Ein Usability Test wird durchgeführt, um die Gebrauchstauglichkeit einer Software oder Hardware mit den potenziellen Benutzern zu überprüfen. Er gehört zu den Techniken der empirischen Softwareevaluation, im Gegensatz zu analytischen Verfahren… …   Deutsch Wikipedia

  • Usability-Test — Ein Usability Test wird durchgeführt, um die Gebrauchstauglichkeit einer Software oder Hardware mit den potenziellen Benutzern zu überprüfen. Er gehört zu den Techniken der empirischen Softwareevaluation, im Gegensatz zu analytischen Verfahren… …   Deutsch Wikipedia

  • Roller coaster elements — Contents 1 Basic elements 1.1 Brake run 1.2 Buzz bars 1.3 …   Wikipedia

  • Film speed — is the measure of a photographic film s sensitivity to light, determined by sensitometry and measured on various numerical scales, the most recent being the ISO system. A closely related ISO system is used to measure the sensitivity of digital… …   Wikipedia

  • 2008 Formula One season — Current sport event = motor sporting eventThe 2008 Formula One season is the 59th FIA Formula One World Championship season. It began on 16 March and will end on 2 November after eighteen Grands Prix. As it stands, there are a total of seven… …   Wikipedia

  • Marillion — lors d un concert à Paris en 2005. Pays d’origine …   Wikipédia en Français

  • Folk Music of England — The Folk Music of England has a long history.HistoryLittle survives of the early music of England, by which is meant the music that was used by the people before the establishment of musical notation in the medieval period. Some surviving folk… …   Wikipedia


Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”

We are using cookies for the best presentation of our site. Continuing to use this site, you agree with this.