Xaraya QA

# Dynamic Data Preflight Checklist

## Test environment:

Tester: |
Date: |
Revision: |
Operating system: |
PHP Version: |
Database type and version: |
Browser: |
Time to complete: |

## Test results:

RUN: | 0
PASSED: | 0
PASS: | 0
PASS with FEATURE REQUEST: | 0
PASS with KNOWN DEFECT: | 0
FAILED: | 0
FAIL (KNOWN DEFECT): | 0
FAIL (NEW DEFECT): | 0
FIXED: | 0
NOT TESTED: | 0

### New and reopened defects:

### New feature requests submitted:

## 1. Sanity tests

See RFC 7 - Modularized User Data for details on the dynamicdata module.

1.1 | Installation |
| Module is installed and activated by installer. |
1.2 | Removal |
| Module cannot be removed. |

## 2. Fixed defects

2.1 | Defects marked fixed (but not closed) |

## 3. Managing items and objects

3.1 | Viewing data (xar:data-object?) |
| View items from the sample dd object. They should display without error. |
| View the list of QA objects (imported in 4.2). |
3.2 | Listing data (xar:data-list?) |
| View the 'objects dynamic data list (i.e. view dynamic objects). The list should display without error. |
3.3 | Editing data (xar:data-form?) |
| Create a new dynamic data object - this will display a basic xar:data-form. |
| New DD object with valid input successfully created. |
| Edit the 'objects' dynamic data object. A form should display with a warning about modifying a system object. |
3.4 | Deleting data |
| Non-system DD object deletes successfully. |

## 4. Utilities

4.1 | Querying DD objects |
| Querying 'objects' dd object with no conditions shows all objects items |
4.2 | Importing DD objects |
| users.xml imports with no errors. |
| xartests/qa_testing.xml imports with no errors. |
4.3 | Exporting DD objects |
| The 'objects' dd object exports to XML with no errors. |
| The 'objects' dd object's items exports to XML with no errors. |
| The QA object imported in 4.2 exports to XML with no errors. |
4.4 | Meta table definitions |
| Meta tables interface displays all tables in database. |
| Viewing a table shows the data for that table. |
| Single record may be edited. |
| New record may be added. |

## 5. Dynamic Properties

To test these import the dd object found in modules/dynamicdata/xartests/qa_testing.xml. See also RFC 52 - Dynamic Data Property Types .

5.1 | Static Text |
| Zero-length string is accepted. |
| Strings with non-english characters are accepted. ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ |
5.2 | Text Box |
| Zero-length string is accepted. |
| Strings with non-english characters are accepted. |
| String longer than validation is not accepted (e.g. validation of 0:5 is a 5-character string). |
5.3 | Small / Medium / Large Text Area |
| Zero-length string is accepted. |
| Strings with non-english characters are accepted. |
5.4 | Dropdown List |
| Validation of comma separated labels provides these options to the dropdown list (e.g. label1, label2, label3). |
| Validation of semicolon separated {id,label}s prove these options with the given id to the dropdown list (e.g. 1,label1;2,label2;3,label3). |
| Use of xarModAPIFunc to create validation array. |
| Use of data file for validation array as per RFC52 (e.g. {file:foobar.txt}). |
| Use of data file (via uploads) for validation array (e.g. {file:1}). |
5.5 | Username |
5.6 | Calendar |
5.7 | File Upload (not hooked) |
| Input shows a single upload field + name of existing uploaded file (if any). |
| File uploaded files to var/uploads if validation field is empty. |
| File to directory specified in the validation field. |
| Accepted file types can be specified in the validation field. (format for this?) |
| Output shows a link to the file with the filename as the link text. |
| Value contains the filename. |
5.8 | Status |
5.9 | URL |
5.10 | Image |
5.11 | HTML page |
5.12 | Checkbox |
5.13 | Number Box |
5.14 | Number List |
5.15 | Number Box (float) |
5.16 | Hidden |
5.17 | Module |
5.18 | Item Type |
5.19 | Item ID |
5.20 | Field Type |
5.21 | Data Source |
5.22 | Object |
5.23 | Field Status |
5.24 | E-mail |
5.25 | URL Icon |
5.26 | ICQ Number |
5.27 | AIM Address |
5.28 | MSN Messenger |
5.29 | Yahoo Messenger |
5.30 | Time Zone |
5.31 | Date Format |
5.32 | Radio Buttons |
5.33 | Image List |
5.34 | Language List |
5.35 | User List |
5.36 | Text Upload |
| Input shows a text area + upload field. |
| Files uploads and places (??? the content ??? a link ???) in the text area. |
| Value contains (???). |
5.37 | Multi Select |
5.38 | Affero Username |
5.39 | URL + Title |
5.40 | URL |
5.41 | Country Dropdown |
5.42 | State Dropdown |
5.43 | Tigra Color Picker |
5.44 | Group List |
5.45 | Categories |
5.46 | Hit Count |
5.47 | Rating |
5.48 | Comments |
5.49 | # of Comments |
5.50 | Password Textbox |
5.51 | Extended Date |
5.52 | Logging Level |

## 6. Datastores

6.1 | Dynamicdata datastore |
6.2 | Flat Table datastore |
6.3 | Function datastore |