Open source web testing tool
The future of automated web testing is open source

Simulated browser - The mid path between recorders and scripted tests

Search powered by Google
Home       News       Why WET?       Testimonials       Articles       About us      

Things should be made as simple as possible but not simpler
   Albert Einstein

The use of test recorders in automation, is a concept that, of late has been advocated against by experts. Instead, they advice the use of scripting tests from the ground up. While recorders offer you a faster development time, scripting allows you to take full control of the application that you are trying to test. The latter obviously is a lot more tedious and time-consuming. WET allows you to take advantage of the best of both worlds. The following illustration will help understand the limitations of recorders, strength of scripting and the advanatage of using WET.

  • Create scripts by 'reverse mapping' events back to actions - being a 'guessing technique', not too accurate
  • Guess about how to identify objects.
  • In cases where recorders have scripting abilities, usually the scripts generated by the recorder cannot be used if you switch to the 'the scripting way'
  • Test automation engineer inspects the web page source in detail and writes the script required for each operation.
  • Extremely time consuming
  • Perform test steps on the simulated browser (aka Proxied UI). No guesses – results in accurate scripts
  • Configurable Object identification
  • Powerful scripting ability unlike most recorder based tools
  • Experts can extend tests to any level. Can step out of the typical UI automation and acheive a end to end system test
  • UI generated scripts can be completely used even if you go the 'scripting way'.
  • Beginners can use the WET UI to generate the complete test: Experts can use to map objects, create object depots (aka repository) and build a skeleton.

Click here to read the complete article
WET is a opensource automated web testing tool which uses Watir as the library to drive web pages. WET drives an IE Browser directly and so the automated testing done using WET is equivalent to how a user would drive the web pages. WET extends the scripting abilities of Watir and also offers the convenience of recorders. It is licensed under LGPL and BSD style open source licenses.