README.md

Sulfur

Sulfur is a tool to easily write human readable browser based GUI tests. It is a
FitNesse adapter using Selenium
under the hood. FitNesse is a wiki to write tests in a human readable way, and Selenium controls the
browser.

And click 'save'.
The above configuration tells FitNesse to use the SLIM engine and where to look for libraries (like Sulfur).

That's it! You can now start to write automated GUI tests.

Create SetUp and TearDown

To avoid repetition on every page, you can create pages named 'SetUp' and 'TearDown', to execute something before and after the tests on a page. These pages will be included automatically in your test pages.

Open http://localhost/FrontPage in your browser and click on 'Add > Test page'. Type 'SetUp' in the 'page name' field and put the following text in the content area:

If you want to write your tests in German, use de.advitec.sulfur.lang.de in the import statement, and replace close by schließen.

Writing Tests

Open http://localhost/FrontPage in your browser, and click on 'Add > Test page'. Give your page a meaningful name and write your test code into the content area. Please note that FitNesse requires at least one upper case letter in the middle of the page name (example: MyTest).

There are three kinds of adapters right now: Browser, List and Table. Example:

Installing Additional Browser Drivers

To be able to use other browsers than Firefox, you need to download the respective driver. The driver binaries needs to be placed somewhere on your system’s path. And of course you need the required browsers themselves.