Wetator

Wetator

About

Wetator is a small, flexible and extendable test automation tool that drives and checks your web application. Wetator provides you with a language for writing test scripts that is simple and easily readable - also for non-IT-people. The list of supported commands is intended to be preferably small.

Every command works with the visual representation of the web pages. There is no need to know xpath, the html code of the page or other implementation details.

Every test script is a table with four columns. One row represents one execution step defined by a command, the selector and the optional value.
Wetator supports Excel and XML files for test scripts.
If you use XML files, please have a look at the WetatorTestEditor (WTE) project. WTE is a nice Wetator test script editor for Eclipse.

Example: Test an application login

The whole testscript is defined in one table. In this example we have inserted some screen mockups of the tested application, to make it easier to read the script.

Step 1: Start the application

Step1

Usually you enter the url of the application (or select a bookmark). The Wetator command 'Open Url' does the same.

# Command Selector Value
Open Url /

Step 2: Verify, that the right page was opened

Step2

The Wetator command 'Assert Title' verifies the title of the page.

Assert Title Sample App - Login

Step 3: Type in your userid and password

In the next step you have to type in your userid and password. There is no need to know any technical id (or XPath ore something like that) to address the entry fields. Just use the text from the screen.

Use the command 'Set' to simulate your input.

  Set User Id Tester
  Set Password secret

Of course Wetator supports a way to protect your passwords.

Step3

Step 4: Click the login button

After the input fields are filled, you can click the 'Login' button. Again, no technical knowledge is needed. The command 'Click On' knows your plans.

  Click On Login

One click later...

Step4

Step 5: Verify, that the login was successful

The last thing to do is to verify, that the login was successful. The command 'Assert Content' does the job for you.

  Assert Content Welcome MYID, Have fun with wetator

Thats all.

Here comes the complete test script. Easy to read and understand isn't it?

# Command Selector Value
Open Url /
Assert Title Sample App - Login
  Set User Id Tester
  Set Password secret
  Click On Login
  Assert Content Welcome MYID, Have fun with wetator