Skip to content
jenglezou edited this page Mar 5, 2015 · 25 revisions

Welcome to the parsley wiki!

parsley – a test framework for Protractor

Parsley is a framework that allows a tester to create Protractor tests without writing any JavaScript code. The tester uses familiar tools to simply assemble a sequence of keywords and data into a test script. Excel is used to create the test script and is also used to maintain a centralised store of test data. Parsley provides utilities to automatically convert the Excel test script and data into pure JavaScript Protractor code. This means that the tests can be run using any tool that supports Protractor including NodeJS, WebStorm IDE, Grunt and TeamCity. So, Parsley takes the pain out of developing Protractor tests without losing the benefits of the Jasmine BDD format and the integration with other tools.

It all sounds too good to be true and, in a way, it is. But, in other ways, it isn't. The JavaScript Protractor code underpinning each keyword still has to be handcrafted. Parsley helps with this by standardising the way in which the keyword program code is written, how it is called, how it handles data passed to it, and how it can be reused and combined with other keywords to form a script. The development of the JavaScript keyword code is normally undertaken by a developer or a technical tester.

Clone this wiki locally