Skip to content

Getting Started Scripting

pmneve edited this page Apr 27, 2013 · 11 revisions

This guide will contain the steps to create an Awetestlib script that can either run locally or from the awetest cloud.

  1. Awetest scripts need to be modules, this allows the use of library files and other assets that can be called from the test script. The name of the module should be the file name camelcased.

scripting1

2. The first method the test script runs is the run method. The run method will be used as a starting point for your scripts scripting2

3. Within the run method, use the Awetestlib DSL to write your test steps. Refer to the Regression module RDocs to find all the methods available to you.
scripting3

4. When your script is complete, copy the demo configuration and change the script argument to match the test script's file name. Now when you run the new configuration, it'll run your new test script. scripting4

For IDE setup and configuration, refer to either doc below:

Clone this wiki locally