Installation
Prerequisites
- JDK version 1.8 or higher
- If you plan to run Wetator tests from ant than you additionally need Apache Ant version 1.10.12 or newer.
- a text editor to edit the test scripts (*.wett files)
Command Line Version
Installation of the command line version
- Download the latest stable version.
- Create a new directory and unzip the file into it (preserve subdirectories).
- Open a command window and go to your Wetator directory.
- If under Windows start
wetator.bat sample.wett
- On Unix you have to make the file wetator.sh executable first; then run
wetator.sh sample.wett
- You see some message like
Starting Wetator java -cp ".:./lib/*:" org.wetator.Wetator sample.wet Wetator 2.2.0 using HtmlUnit version 2.61.0 Config: 'wet/wetator.config' OutputDir: 'wet/logs' Templates: 'wet/xsl/run_report.xsl' TestFiles: 'sample.wet' (wet/sample.wet) TestCase: 'sample.wet' (1/1) FirefoxESR Success Tests: 1, Errors: 0, Failures: 0, Ignored: 0 Steps: 0, Errors: 0, Failures: 0, Ignored: 0
- Inside the output dir (usually the subdir log) you can find the result overview. Simple open the file logs/run_report.xsl.html with your browser.
- Thats all - you are ready now to start writing your first test script.
Run the simple wetator test selector ui
If you start the wetator without providing a specific test file, a small file dialog appears and let you choose the test scripts you like to run.
For more details about the command line interface see Command-Line Options.
To run your tests as ant task see Ant Task.