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.

  1. Create a new sMash application over the following command:
    zero create zero.assemble.flow.demo from zero:zero.assemble.flow.demo
  2. Make sure you have successfully created the application then enter the application directory.
  3. 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"
  4. Initialize required ZRM model data over the following command:
    zero model sync
  5. Initialize database for the delete employee demo over the following command:
    zero runsql theDB setup_db.sql
  6. 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
    flowsamplelist.JPG
  • TEST Click Start button of Sample package and confirm the flows run correctly
    flowSamples.JPG
  • TEST Click Start button of Script sample package and confirm the scripts run correctly
    scriptSamples.JPG
  • TEST (silverstone only) Click Start button of AJAX feed sample package and confirm scripts for each function run correctly
    ajaxfeedapi.JPG

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

  1. Click Start button of Order demo in Assemble flow sample home page.
    * TEST confirm you got a form page correctly
  2. Fill in the form with data like this (please replace zhukecdl@cn.ibm.com with your own email address), then click submit button.
    orderdemo1.JPG
    * TEST confirm you get a successful page.
    successResponse.JPG
    * TEST confirm you get an email titled "Manager Approval":
    orderdemo_notification.JPG
  3. 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.
    orderdemo_approve.JPG
  4. 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".
    orderdemo_manufacturer_request.JPG
    * TEST confirm you get an email titled "Confirm the items arrived"
    orderdemo_confirm.JPG
  5. Click the link in this email.
    * TEST confirm you get a page and the content should be same as what you fill in step2.
    orderdemo_confirm_page.JPG
  6. Choose "Yes" radio and click "submit" button.
    * TEST confirm you get a successful page.
    * TEST confirm you get an email titled "Customer Notification".
    orderdemo_custom_notification.JPG

Run Employee demo

  1. 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.
  2. 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.
    delete_employee.JPG
    * 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.
    delete_employee_email.JPG
  3. Click the link in the email.
    * TEST confirm you get the confirmation page, click "Approve" button.
  4. Repeat step 4 for the other email.
  5. 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.
    delete_employee_notification.JPG

  Attachment Action Size Date Who Comment
doc Flow_manual_test.doc props, move 669.5 K 18 Oct 2007 - 13:49 yili  
jpg ajaxfeedapi.JPG props, move 36.9 K 10 Sep 2008 - 02:08 zhuke AJAX Feed API
jpg delete_employee.JPG props, move 72.4 K 31 Jul 2008 - 15:10 zhuke delete employee
jpg delete_employee_email.JPG props, move 46.4 K 31 Jul 2008 - 15:11 zhuke confirm email
jpg delete_employee_notification.JPG props, move 44.7 K 31 Jul 2008 - 15:14 zhuke result email
jpg eclipse_run_config.JPG props, move 84.4 K 31 Jul 2008 - 14:54 zhuke eclipse: run config
jpg feedPerspective.JPG props, move 77.6 K 19 Oct 2007 - 08:25 liwenb  
jpg feedPerspective_s.JPG props, move 36.1 K 22 Oct 2007 - 10:22 liwenb  
jpg feedRefresh.JPG props, move 114.4 K 19 Oct 2007 - 08:33 liwenb  
jpg feedRefresh_s.JPG props, move 53.1 K 22 Oct 2007 - 12:18 liwenb  
jpg feedRun.JPG props, move 136.2 K 19 Oct 2007 - 08:30 liwenb  
jpg feedRun_s.JPG props, move 53.6 K 02 Feb 2008 - 13:41 liwenb /samples/sortFeed/ result
jpg flowSampleList.JPG props, move 69.7 K 31 Jul 2008 - 05:36 zhuke  
jpg flowSamples.JPG props, move 61.7 K 31 Jul 2008 - 05:36 zhuke  
jpg flowsamplelist.JPG props, move 57.1 K 10 Sep 2008 - 02:09 zhuke sample list
jpg loadSort.JPG props, move 62.8 K 20 Mar 2008 - 11:26 liwenb /samples/sortFeed/ flow loaded in tooling
jpg orderdemo1.JPG props, move 55.0 K 31 Jul 2008 - 14:27 zhuke order form
jpg orderdemo_approve.JPG props, move 51.2 K 31 Jul 2008 - 14:30 zhuke order demo: form for approval
jpg orderdemo_confirm.JPG props, move 41.1 K 31 Jul 2008 - 14:33 zhuke order demo: confirm email
jpg orderdemo_confirm_page.JPG props, move 50.5 K 31 Jul 2008 - 14:34 zhuke order demo: form for confirmation
jpg orderdemo_custom_notification.JPG props, move 29.7 K 31 Jul 2008 - 14:35 zhuke order demo: customer notification
jpg orderdemo_manufacturer_request.JPG props, move 53.3 K 31 Jul 2008 - 14:32 zhuke order demo: manufacturer request
jpg orderdemo_notification.JPG props, move 38.2 K 31 Jul 2008 - 14:29 zhuke order demo: manager approval
jpg run_model_sync.JPG props, move 55.7 K 10 Sep 2008 - 02:07 zhuke command model sync
jpg runsample.JPG props, move 55.3 K 10 Sep 2008 - 02:19 zhuke run flow demo
jpg sMashExample.JPG props, move 38.5 K 31 Jul 2008 - 04:11 zhuke eclipse examples
jpg sampleIndex.JPG props, move 115.9 K 19 Oct 2007 - 08:09 liwenb  
jpg sampleIndex_s.JPG props, move 50.0 K 22 Oct 2007 - 10:23 liwenb  
jpg samplePackage.JPG props, move 134.4 K 19 Oct 2007 - 08:13 liwenb  
jpg samplePackage_s.JPG props, move 63.5 K 22 Oct 2007 - 10:24 liwenb  
jpg scriptSamples.JPG props, move 58.6 K 31 Jul 2008 - 05:43 zhuke  
jpg successResponse.JPG props, move 43.4 K 31 Jul 2008 - 14:28 zhuke success response
jpg toolingIndex.JPG props, move 102.5 K 19 Oct 2007 - 08:18 liwenb  
jpg toolingIndex_s.JPG props, move 69.8 K 03 Feb 2008 - 13:34 liwenb Tooling home page
jpg toolingIndex_sort.JPG props, move 54.7 K 03 Feb 2008 - 13:35 liwenb Filter by keyword "sort"
jpg tooling_sort_modify.JPG props, move 64.0 K 20 Mar 2008 - 11:26 liwenb Modify the /samples/sortFeed/ in tooling
jpg zeroExample.JPG props, move 57.8 K 19 Oct 2007 - 08:04 liwenb  
jpg zeroExample_s.JPG props, move 39.2 K 22 Oct 2007 - 10:22 liwenb  
r20 - 27 Oct 2008 - 11:02:31 - yili
Syndicate this site RSS ATOM
Copyright 2007 © IBM Corporation | Privacy | Terms of Use | About this site