| 1 |
$Id$
|
| 2 |
|
| 3 |
OVERVIEW
|
| 4 |
|
| 5 |
Simpletest automator
|
| 6 |
Allows an end-user to create a simpletest via the Drupal UI.
|
| 7 |
|
| 8 |
|
| 9 |
WHAT THE MODULE DOES
|
| 10 |
|
| 11 |
Install the module and create a simpletest file by clicking around the Drupal UI. The user specifies the conditions under which they will run the simpletest (e.g. a user with a specific set of permissions), then creates the simpletest by completing the activity in the Drupal UI.
|
| 12 |
|
| 13 |
* Allows you to specify a user with configurable permissions.
|
| 14 |
* Switches you over to be that user.
|
| 15 |
* Records the links you click (and other pages you visit).
|
| 16 |
* Saves form submissions into a file in you files/ directory
|
| 17 |
* Adds assertions made from the content of the result -- not the blocks, just the content itself.
|
| 18 |
|
| 19 |
|
| 20 |
HOW TO INSTALL THE MODULE
|
| 21 |
|
| 22 |
1. Untar the module in your modules directory (usually <drupalroot>/sites/all/modules/).
|
| 23 |
|
| 24 |
2. Visit Administer >> Site Building >> Modules
|
| 25 |
|
| 26 |
3. Check the box next to Automator to activate the module.
|
| 27 |
|
| 28 |
|
| 29 |
HOW TO USE THE MODULE
|
| 30 |
|
| 31 |
1. Visit Drupal administration.
|
| 32 |
|
| 33 |
2. Click on the Automator link
|
| 34 |
Administer >> Site Building >> Automator
|
| 35 |
|
| 36 |
3. For the test you are about to create, provide a description, machine readable name, human readable name, and group.
|
| 37 |
|
| 38 |
4. Specify the permissions for the user.
|
| 39 |
|
| 40 |
5. Click "Start testing with this user"
|
| 41 |
|
| 42 |
6. Complete your test
|
| 43 |
|
| 44 |
7. Click on "Simpletest Automator Stop" once you have completed your test.
|
| 45 |
|
| 46 |
8. Your test will be stored in the Drupal files/ directory.
|