Assemble Flow and Tooling Manual Testing
Tests confirm
- Basic functionality of the Assemble flow
Start the demo project
In order to execute the tests you will need [[http://www.projectzero.org/zero/silverstone/latest/docs/zero.gettingstarted.doc/zero.gettingstarted.doc/CLI.html][zero CLI] installed.
- Create a new sMash application over the following command:
zero create zero.assemble.flow.demo from zero:zero.assemble.flow.demo
- Make sure you have successfully created the application then enter the application directory.
- In order to run some samples invoking Amazon ECS service, please configure your Amazon Access key ID in /config/zero.config file of this application like this:
/config/amazon/accessKeyId="xyxyxyxyxyxyxyxyxyxy"
- Initialize required ZRM model data over the following command:
zero model sync
- Initialize database for the delete employee demo over the following command:
zero runsql theDB setup_db.sql
- At last, start this sMash application:
zero start
Run the flows in the sample project
Access the Assemble flow sample home page at http://server:port/index.html (e.g: http://localhost:8080/index.html)
- TEST: Confirm the sample page is shown correctly
- TEST Click Start button of Sample package and confirm the flows run correctly
- TEST Click Start button of Script sample package and confirm the scripts run correctly
- TEST (silverstone only) Click Start button of AJAX feed sample package and confirm scripts for each function run correctly
Run Reports demo
- TEST Click Start button of Reports demo in Assemble flow sample home page, and confirm you get the email with attachment result.xml
Run Order demo
- Click Start button of Order demo in Assemble flow sample home page.
* TEST confirm you got a form page correctly
- Fill in the form with data like this (please replace zhukecdl@cn.ibm.com with your own email address), then click submit button.
 * TEST confirm you get a successful page.  * TEST confirm you get an email titled "Manager Approval": 
- Click the link in this email.
* TEST confirm you get this page and the content should be same as what you fill in step 2. 
- Choose "Yes" radio and click "submit" button.
* TEST confirm you get a successful page like step2. * TEST confirm you get an email titled "Manufacturer Request".  * TEST confirm you get an email titled "Confirm the items arrived" 
- Click the link in this email.
* TEST confirm you get a page and the content should be same as what you fill in step2. 
- Choose "Yes" radio and click "submit" button.
* TEST confirm you get a successful page. * TEST confirm you get an email titled "Customer Notification". 
Run Employee demo
- Make sure you complete step 5 in start the demo project.
* TEST Click Start button of Employee demo in Assemble flow sample home page, follow the instructions and confirm you get the right result as described.
- Select one employee in grid and then click "Delete employee".
* TEST confirm you get the form to fill email addresses, then fill in the 3 input with your own email address, click "Submit for Approval" button.  * TEST confirm you get emails titled "Approver1, please approve or reject the deletion of an employee" and "Approver2, please approve or reject the deletion of an employee" separately. 
- Click the link in the email.
* TEST confirm you get the confirmation page, click "Approve" button.
- Repeat step 4 for the other email.
- In the employee demo page, click "List Employees" button.
* TEST confirm the employee you selected in step 3 is not appeared in the grid. * TEST confirm you get a notification email. 
|
| | Attachment | Action | Size | Date | Who | Comment |
| Flow_manual_test.doc | props, move | 669.5 K | 18 Oct 2007 - 13:49 | yili | |
| ajaxfeedapi.JPG | props, move | 36.9 K | 10 Sep 2008 - 02:08 | zhuke | AJAX Feed API |
| delete_employee.JPG | props, move | 72.4 K | 31 Jul 2008 - 15:10 | zhuke | delete employee |
| delete_employee_email.JPG | props, move | 46.4 K | 31 Jul 2008 - 15:11 | zhuke | confirm email |
| delete_employee_notification.JPG | props, move | 44.7 K | 31 Jul 2008 - 15:14 | zhuke | result email |
| eclipse_run_config.JPG | props, move | 84.4 K | 31 Jul 2008 - 14:54 | zhuke | eclipse: run config |
| feedPerspective.JPG | props, move | 77.6 K | 19 Oct 2007 - 08:25 | liwenb | |
| feedPerspective_s.JPG | props, move | 36.1 K | 22 Oct 2007 - 10:22 | liwenb | |
| feedRefresh.JPG | props, move | 114.4 K | 19 Oct 2007 - 08:33 | liwenb | |
| feedRefresh_s.JPG | props, move | 53.1 K | 22 Oct 2007 - 12:18 | liwenb | |
| feedRun.JPG | props, move | 136.2 K | 19 Oct 2007 - 08:30 | liwenb | |
| feedRun_s.JPG | props, move | 53.6 K | 02 Feb 2008 - 13:41 | liwenb | /samples/sortFeed/ result |
| flowSampleList.JPG | props, move | 69.7 K | 31 Jul 2008 - 05:36 | zhuke | |
| flowSamples.JPG | props, move | 61.7 K | 31 Jul 2008 - 05:36 | zhuke | |
| flowsamplelist.JPG | props, move | 57.1 K | 10 Sep 2008 - 02:09 | zhuke | sample list |
| loadSort.JPG | props, move | 62.8 K | 20 Mar 2008 - 11:26 | liwenb | /samples/sortFeed/ flow loaded in tooling |
| orderdemo1.JPG | props, move | 55.0 K | 31 Jul 2008 - 14:27 | zhuke | order form |
| orderdemo_approve.JPG | props, move | 51.2 K | 31 Jul 2008 - 14:30 | zhuke | order demo: form for approval |
| orderdemo_confirm.JPG | props, move | 41.1 K | 31 Jul 2008 - 14:33 | zhuke | order demo: confirm email |
| orderdemo_confirm_page.JPG | props, move | 50.5 K | 31 Jul 2008 - 14:34 | zhuke | order demo: form for confirmation |
| orderdemo_custom_notification.JPG | props, move | 29.7 K | 31 Jul 2008 - 14:35 | zhuke | order demo: customer notification |
| orderdemo_manufacturer_request.JPG | props, move | 53.3 K | 31 Jul 2008 - 14:32 | zhuke | order demo: manufacturer request |
| orderdemo_notification.JPG | props, move | 38.2 K | 31 Jul 2008 - 14:29 | zhuke | order demo: manager approval |
| run_model_sync.JPG | props, move | 55.7 K | 10 Sep 2008 - 02:07 | zhuke | command model sync |
| runsample.JPG | props, move | 55.3 K | 10 Sep 2008 - 02:19 | zhuke | run flow demo |
| sMashExample.JPG | props, move | 38.5 K | 31 Jul 2008 - 04:11 | zhuke | eclipse examples |
| sampleIndex.JPG | props, move | 115.9 K | 19 Oct 2007 - 08:09 | liwenb | |
| sampleIndex_s.JPG | props, move | 50.0 K | 22 Oct 2007 - 10:23 | liwenb | |
| samplePackage.JPG | props, move | 134.4 K | 19 Oct 2007 - 08:13 | liwenb | |
| samplePackage_s.JPG | props, move | 63.5 K | 22 Oct 2007 - 10:24 | liwenb | |
| scriptSamples.JPG | props, move | 58.6 K | 31 Jul 2008 - 05:43 | zhuke | |
| successResponse.JPG | props, move | 43.4 K | 31 Jul 2008 - 14:28 | zhuke | success response |
| toolingIndex.JPG | props, move | 102.5 K | 19 Oct 2007 - 08:18 | liwenb | |
| toolingIndex_s.JPG | props, move | 69.8 K | 03 Feb 2008 - 13:34 | liwenb | Tooling home page |
| toolingIndex_sort.JPG | props, move | 54.7 K | 03 Feb 2008 - 13:35 | liwenb | Filter by keyword "sort" |
| tooling_sort_modify.JPG | props, move | 64.0 K | 20 Mar 2008 - 11:26 | liwenb | Modify the /samples/sortFeed/ in tooling |
| zeroExample.JPG | props, move | 57.8 K | 19 Oct 2007 - 08:04 | liwenb | |
| zeroExample_s.JPG | props, move | 39.2 K | 22 Oct 2007 - 10:22 | liwenb | |
r20 - 27 Oct 2008 - 11:02:31 - yili
|
|
|