Documentation

Actions

Actions are a way to control your browsers by simulating user input such as mouse clicks and filling out input fields.

DocsSourceIssuesTrello

Assertions

Assertions check if the assumptions you made about a website are correct. They might check if the title of a page is as expected, or an element has a given text, if your mobile website version only displays a certain amount of elements and many more …

DocsSourceIssuesTrello

Browsers

PhantomJS

Phantom JS is a headless web browser. It is installed with Dalek and set as the default browser to test in.

DocsSourceIssuesTrello

Chrome

Any version of Google Chrome, Chromium or Chrome Canary can be used with DalekJS. By default, Dalek will try to use your standard Chrome installation to run your tests.

DocsSourceIssuesTrello

Internet Explorer

Any version of Internet Explorer >= 6 can be used with DalekJS.

DocsSourceIssuesTrello

Firefox

Any version of Mozilla Firefox >= 24 can be used with DalekJS as well as the Firefox OS emulator & Nightly/Aurora builds.

DocsSourceIssuesTrello

Mobile Safari

Mobile Safari on iOS Emulator

DocsSourceIssuesTrello

Other

Other browsers will follow soon. If you would like to help, please get in touch with me. I have plans to get Desktop Opera, Chrome on Android & the Blackberry Browser running. For the other ones, I currently have no idea how to get them up & running.

Reports

Console

Daleks basic reporter, all the lovely colors & symbols you see when running Dalek.

DocsSourceIssuesTrello

HTML

This reporter makes beautiful (more or less) HTML reports. Basically everything you see in your console, when testing your HTML, packaged up as HTML. Yep, this kind of an inception-ish thingy.

DocsSourceIssuesTrello

jUnit XML

All you weirdo JAVArinos, Jenkins CI lovers & all you poor people who work in the so called "Enterprise", here is your reporter. It does what its name promises, writing super verbose test reports in a jUnit XML compatible file.

DocsSourceIssuesTrello

JSON

To make parsing of Daleks test results for other tools easier, there is a JSON reporter available. The Reporter can output the test results to a file in form of the Dalek JSON test protocol.

DocsSourceIssuesTrello

Drivers

Webdriver

DalekJS loves standards, so the basic driver that ships with Dalek is based on the Webdriver standard (you can find the specification here). That means, when using this driver, Dalek is able to communicate with every endpoint that implements the JSON-Wire protocol. Hurrah!

SourceIssuesTrello

Selenium

TBA.

Sauce

DalekJS loves Sauce Labs. With this optional driver installed, you are able to run your tests within the sauce cloud!

DocsSourceIssuesTrello

Command Line Interface

The command line interface is your interface to the world of DalekJS. Currently, this is the way to run your tests. There might be a web interface later, for now stick to the CLI. It isn't difficult & I know you can do it!

DocsSourceIssuesTrello

Grunt integration

If you are as addicted to build & test your stuff with the help of Grunt as I am, well, then I hope that it makes you as happy as me that there is a grunt task for DalekJS already available.

DocsSourceIssuesTrello

Yeoman integration

TBA.

Configuration

Dalek comes with some sane defaults, but sometimes, it needs to be tweaked to suit your needs.

SourceIssuesTrello

Extending DalekJS

TBA.

Debugging

TBA.