![]()
API Guide - Reporter |
Courses in c#, ruby, shell scripting, Software testing courses and more
|
|||||||||||||||||||||||||
|
||||||||||||||||||||||||||
| Class | WET::HtmlReporter |
| In: |
HtmlReporter.rb
|
| Parent: | Object |
Create a new reporter. However One must never create a reporter by calling the constructor directly. Instead one must use the reporter() method in the main module to get a reference of the current reporter being used.
Report a failure in the results. Besides the failure message, you can also pass the following two
arguments:
exp = The text that was expected
act = The actual test that was seen
A failure message is printed in Red in the generated report.
extra_text is an array of additional text that can be passed as extra information
Save the report to the path specified. Typically you would not have to call this method directly if you are running tests using the WetRunner or BatchRunner.The results are saved automatically depending on the path specified in the test definition
| 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. |