Manual tests for Web Application Programming Model

Guidelines for documenting the manual tests:

  • Summarize the elements covered in the test
  • Enumerate the steps (ordered list)
  • Call out test points with a TEST bullet
  • Include screenshots as appropriate; many of the manual tests will be visual, so screenshots are helpful

Hello World Sample

Tests confirm:
  • Basic funcationality of the Web Application programming model

Steps

  1. Download the Zero samples plugin, select File->new->project zero sample, select zero.web.template.samples and click "create"
  2. Resolve the project dependencies.
  3. Run the zero.web.template.samples project as a Project Zero application.
  4. Browse to http://localhost:8080/helloworld/helloworld.zhtml
  • TEST Confirm page show correctly in browser
    helloworld1.JPG
  • TEST Type you name in input and click "Say Hello From Client Side" button, confirm message display correctly.
    helloworld2.JPG
  • TEST Type you name in input and click "Say Hello From Server Side" button, confirm message display correctly.
    helloworld3.JPG

Employee Sample

Tests confirm:
  • Employee Sample run correctly
  1. Download the Zero samples plugin, select File->new->project zero sample, select zero.web.template.samples and click "create"
  2. Resolve the project dependencies.
  3. Run the zero.web.template.samples project as a Project Zero application.
  4. Browse to http://localhost:8080/employee/employee.zhtml

  • TEST Confirm page show correctly in browser
employee.JPG

  • TEST Click "Create new employee" Link, and add a new record as following, click Create, will see the alert pop up
employee_create_error.JPG

  • TEST Change the value into right format"1-333-333-3333",and click"Create", then see a new record added
employee_create_ok.JPG

  • TEST Click "Edit" ,change the Phone Number value into new one and click Save, the Phone Number in the record will change to the new one
employee_edit1.JPG
employee_edit2.JPG
  • TEST Click "Delete" ,can delete the record in the current row

Food Shop Sample

Tests confirm:
  • Food Shop Sample run correctly
  1. Download the Zero samples plugin, select File->new->project zero sample, select zero.web.template.samples and click "create"
  2. Resolve the project dependencies.
  3. Run the zero.web.template.samples project as a Project Zero application.
  4. Browse to http://localhost:8080/foodstore/food.zhtml

  • TEST Confirm page show correctly in browser
foodstore_welcome.JPG

  • TEST Click "login" Link, will see the login form popup as following
loginform.JPG

  • TEST input username : "guest" and password:"guest",then click"login", and click "Show All", will see the following page with greeting words in the right top of the page and foodlist shown as below
foodlist

  • TEST input keyword: "beef" in the search input box and click "search", will see the following page shown as below
search

  • TEST Click "Show All" ,random change the Count value by selection, the red hint will be shown in the right side if the left amount is less than 10
select.JPG

  • TEST Click "Shoping Cart" ,the following page will be shown
cart.JPG

  • TEST Click "Remove" ,can delete the food information in the current row, and the overall money will change

  • TEST Click "Order" button,the following page will be shown
confirm.JPG

  • TEST Click "OK" in the alert message box,the foodlist be shown as following, notice ,the food number has been changed because of the current order
new_foodlist.JPG

  • TEST Click "logout" , will see the welcome page again as following
foodstore_welcome.JPG

  • TEST Click "login" link , input "admin" as user name and "admin" as password, click "login" and click "Admin_WorkSpace" will see the following page
admin.JPG

  • TEST Click "edit" link , change count to be "20", and price to be "20", then click "save" will see the following pages
edit1.JPG
edit2.JPG

  • TEST Click "Add new food" link , input the following information and click " Create", the following pages will be shown
new1.JPG
new2.JPG

  • TEST Click "Show All" link , can see the new row has been added in the bottom of this table
foodstore_afterAdd.JPG

  • TEST Click "Admin WorkSpace" link , delete the last record, will see the following page
delete1.JPG
delete2.JPG

  • TEST Click "Show All" link , can see the new row has been deleted
delete3.JPG

-- KeZhang - 24 Oct 2007

  Attachment Action Size Date Who Comment
jpg admin.JPG props, move 48.0 K 14 Dec 2007 - 03:32 KeZhang  
jpg afterAdd.JPG props, move 103.5 K 14 Dec 2007 - 03:33 KeZhang  
jpg cart.JPG props, move 31.3 K 14 Dec 2007 - 03:33 KeZhang  
jpg confirm.JPG props, move 41.0 K 14 Dec 2007 - 03:33 KeZhang  
jpg delete1.JPG props, move 50.4 K 14 Dec 2007 - 03:34 KeZhang  
jpg delete2.JPG props, move 47.4 K 14 Dec 2007 - 03:34 KeZhang  
jpg delete3.JPG props, move 54.5 K 14 Dec 2007 - 03:34 KeZhang  
jpg edit1.JPG props, move 46.8 K 14 Dec 2007 - 03:34 KeZhang  
jpg edit2.JPG props, move 47.7 K 14 Dec 2007 - 03:35 KeZhang  
jpg employee.JPG props, move 64.7 K 13 Dec 2007 - 13:58 KeZhang  
jpg employee_create_erorr.JPG props, move 127.7 K 13 Dec 2007 - 14:18 KeZhang  
jpg employee_create_error.JPG props, move 127.7 K 13 Dec 2007 - 14:19 KeZhang  
jpg employee_create_ok.JPG props, move 74.7 K 13 Dec 2007 - 14:22 KeZhang  
jpg employee_edit1.JPG props, move 74.9 K 13 Dec 2007 - 14:26 KeZhang  
jpg employee_edit2.JPG props, move 74.1 K 13 Dec 2007 - 14:26 KeZhang  
jpg foodlist.JPG props, move 45.9 K 14 Dec 2007 - 03:35 KeZhang  
jpg foodstore_afterAdd.JPG props, move 54.0 K 14 Dec 2007 - 08:07 KeZhang  
jpg foodstore_welcome.JPG props, move 116.1 K 14 Dec 2007 - 07:25 KeZhang  
jpg helloworld1.JPG props, move 31.3 K 13 Dec 2007 - 14:06 KeZhang  
jpg helloworld2.JPG props, move 35.8 K 13 Dec 2007 - 14:07 KeZhang  
jpg helloworld3.JPG props, move 34.3 K 13 Dec 2007 - 14:07 KeZhang  
jpg loginform.JPG props, move 12.4 K 14 Dec 2007 - 03:35 KeZhang  
jpg new1.JPG props, move 49.0 K 14 Dec 2007 - 03:35 KeZhang  
jpg new2.JPG props, move 48.9 K 14 Dec 2007 - 03:35 KeZhang  
jpg new_foodlist.JPG props, move 53.4 K 14 Dec 2007 - 03:36 KeZhang  
jpg search.JPG props, move 29.8 K 14 Dec 2007 - 03:36 KeZhang  
jpg select.JPG props, move 49.2 K 14 Dec 2007 - 03:36 KeZhang  
jpg welcome.JPG props, move 121.3 K 14 Dec 2007 - 03:30 KeZhang  
r11 - 17 Dec 2007 - 02:23:16 - KeZhang
Syndicate this site RSS ATOM
Copyright 2007 © IBM Corporation | Privacy | Terms of Use | About this site