| | |
Manual tests for Tutorials, Samples, and Modules
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 Dojo Tutorial
Test confirms:
- The tutorial application can be built and run as described.
Steps:
- Read through HelloDojoTutorial, located under samples, and complete each step.
Suggestion Box Tutorial
Test confirms:
- The "suggestion box application" tutorial can be completed as described. This tutorial can be found in the Developer's Guide under the Samples section. Please use the tutorial associated with the build being tested.
Employee List Sample
Tests confirm:
- Setup instructions
- Operation of the Dojo-based UI
Steps:
- Install the
Employee List example using the CLI instructions
- Access the UI at http://localhost:8080
- TEST Confirm page contains empty table, similar to the following
- TEST Click on
List Employees and confirm that employees are listed, similar to the following
- Add a new employee:
- Click on
Create Employee
- Confirm page shows panel for creating new entries, similar to the following
- Enter an employee username, first name, last name, location and phone number.
- Click
Submit.
- TEST Confirm page contains the new entry
- Edit an employee
- Select an employee in the list and click
Edit Employee
- Change the employee's first name
- Click
Submit
- TEST Confirm the page reflects the change
- Delete an employee
- Select an employee in the list and click
Delete Employee
- TEST Confirm the page reflects the change
- Stop the application. Delete the application.
- Recreate the sample using the AppBuilder instructions.
- TEST Confirm that the app runs and the page loads.
- Stop the application. Delete the application.
- Recreate the sample using the Eclipse instructions.
- TEST Confirm that the app runs and the page loads.
Employee List with PHP Sample
Tests confirm:
- Setup instructions
- Operation of the Dojo-based UI
Steps:
- Follow the steps as described above for the Employee List demo using the CLI. Use the zero.phpemployee.demo module name.
Connection API Sample
Tests confirm:
- Setup instructions
- Operation of the connection API tests
Steps:
- Create and start the sample according to the CLI setup instructions
- Execute each of the tests.
- TEST Confirm that the output of each test returns the documented response.
Atom Sample
Tests confirm:
- Setup instructions
- Operation of the Dojo-based UI
- Operation of various feeds
Steps:
- Create and start the sample according to the CLI setup instructions
- Access the UI at described in the documentation
- TEST: Confirm page contains entries, similar to the following
- Add another entry:
- Click
new
- TEST: Confirm page shows panel for creating new entries, similar to the following
- Enter a title and author
- Click
save (the default values are fine)
- TEST: Confirm page contains the new entry
- Edit an entry:
- Click on an entry
- Change the title
- Click
save
- Reload the page
- TEST: Confirm page shows the updated entry
- Delete an entry:
- Click on an entry
- Click
delete (on the entry)
- Reload the page
- TEST: Confirm the entry no longer appears
- Access the UI at http://localhost:8080/classics
- TEST: Confirm that the entries can NOT be edited (no edit or delete button)
- Access the feed at http://localhost:8080/custom/feeds/books.groovy
- TEST: Confirm that seven entries are shown
- Access the feed at http://localhost:8080/biographies/feeds/custom.groovy
- TEST: Confirm that the three entries have links to george's greeting (select each title)
Flow Samples
Tests confirm:
- Setup instructions
- Operation of the Dojo-based UI
Steps:
- Create and start the samples according to the CLI setup instructions
- Follow the instructions to execute each of the tests.
- TEST: Confirm that the output of each tests match what is documented.
Office Monitor Sample
Tests confirm:
- Setup instructions
- Operation of the Dojo-based UI
Steps:
- Create and start the sample according to the CLI setup instructions or README file.
- Ensure zero populateData has been run.
- Open admin in one window /officemon/admin.html.
- Open calendar in another window /officemon/index.html
- TEST admin - ensure 11 users and 3 groups are visible
- TEST calendar - ensure that the same set of users is visible (may be thru multiple pages)
- TEST admin - add a user called "Barak"
- TEST calendar - refresh and ensure Barak appears on the list.
- TEST calendar - mark Barak "Office AM" (click 3 times for Barak - today cell, and click "ok" in the confirm column) update should fail with "ReadOnly Mode: Change(s) were not saved for Barak. Change Preferences->ReadOnly to allow updates."
- TEST calendar - click preferences and deselect "read only". Resubmit "ok" in cofirm column and it should work.
- TEST admin - refresh. Barak should appear out of office.
- TEST calendar - click on Azelia "today" cell. "Advance edit" dialog should open. Click on the pencil on the "home" message and "Sleep". Click ok, and then Click "ok" in confirm column. Console should show you that changes were saved.
- TEST calendar - move to next week. ">> week" top right corner. And set an event on any of the users.
- TEST calendar - click "This Week" button to bring you back to the current week. Refresh and go back to "next week" The user event should be visible.
Flickr Server Side Mashup Sample
Tests confirm:
- Setup instructions
- Operation of the Dojo-based UI
Steps:
- Create and start the sample according to the CLI setup instructions
- TEST: Confirm that the application starts and displays correctly
- TEST: Execute some searches and verify that the results are updated appropriately
OpenID Sample
Tests confirm:
- Setup instructions
- Operation of the Dojo-based UI
Steps:
- Create and start the sample according to the CLI setup instructions
- Follow the instructions documented in the sample.
- TEST: Confirm that the results match the documented screenshots
IWidgets Tutorial
Tests confirm:
Steps:
- Follow the setup instructions documented in the tutorial.
- Follow the steps in the tutorial.
- TEST: Confirm that the results are as documented.
Kicker and Receiver Sample
Tests confirm:
- Setup instructions
- Operation of the Dojo-based UI
Steps:
- Create and start the sample according to the CLI setup instructions
- Follow the instructions for running the application.
- TEST: Verify that the kicker and receiver tabs behave as expected.
Open AJAX Client Side Mashup
Tests confirm:
- Setup instructions
- Operation of the UI
Steps:
- Create and start the sample according to the CLI setup instructions
- Follow the instructions for running the 3rd-party and mashup applications.
- TEST: Verify that the mashup application correctly consumes data from the 3rd party application.
RTE - Messaging Sample
Tests confirm:
- Setup instructions
- Operation of the UI
Steps:
- Create and start the sample applications according to the setup instructions
- Follow the instructions for running the applications.
- TEST: Verify that the application behaves as documented.
Flickr Mashup Module
Test confirms:
- The ability to connect to and use a 3rd party web service in a Zero application.
Steps:
- Download and unzip the flickr.test-2.0.0.0.zip:
- Import the
flickr.test project into an Eclipse workspace with an experimental repository and resolve the project.
- Update the
flickr.test/config/zero.config with your Flickr Api Key NOTE: Surround the value with double quotes ("1234567890abcd").
- Run the
flickr.test as a Project Zero Application.
- Access the UI at http://localhost:8080
- TEST that the application looks like the screenshot above.
- Check out the zero.flickr.tests module from trunk in SVN
- Resolve the module
- Run zero.flickr.tests as a JUNIT test
- TEST that all tests pass.
Amazon ECS Module
Test confirms:
Steps:
- In a CLI pointing to the experimental repo, create a new Zero app called "TestAmazon"
- Add "zero.amazon.ecs" as a dependency in the app's ivy.xml
- Configure an access key as described in the instructions, here:
- Create a file called "test.groovy" in the "public" directory
- Paste in the sample code from the "Performing a search" section in the instructions
- Start the application
- Browse to http://localhost:8080/test.groovy
- TEST that an XML file is returned with books about Harry Potter
Fire PHP Module
Test confirms:
Steps:
- TEST - confirm the instructions on the blog post, here: FirePHP
Wikipedia Module
Test confirms:
Steps:
- From a CLI pointing to the experimental repo, execute zero create zero.services.wikipedia from zero:zero.services.wikipedia
- From the zero.services.wikipedia directory, execute zero start
- From a web browser, browse to http://localhost:8080/resources/wikipedia/IBM
- TEST that the wikipedia page for IBM is returned.
zero.admin using CLI
Tests confirm:
- Setup instructions
- Operation of the Dojo-based UI [starting, stoping, monitoring, adding, and removing apps]
Steps:
- Execute CLI command: zero create myzeroadmin from zero:zero.admin
- Change to the project's root directory: cd myzeroadmin
- Execute CLI command: zero start
- TEST Access the UI at http://localhost:9072 to make sure its running
- Create a new app if you dont have any existing apps: zero create testapp1
- TEST Add an existing app to the list per the instructions on http://localhost:9072
- TEST Start an app by clicking on the green arrow
- TEST Click on the app link to access the app [verify that the app is functioning as expected]
- TEST Stop the app by clicking the red box, then refresh [verify that the app has been stopped successfully]
- TEST Remove the app from the list by clicking on the yellow X
- TEST Start/Stop the app using the CLI and refresh to ensure that the status is reflected properly
|
| | Attachment | Action | Size | Date | Who | Comment |
| 1.png | props, move | 7.6 K | 12 Sep 2008 - 03:32 | brandon | |
| 2.png | props, move | 8.2 K | 12 Sep 2008 - 03:33 | brandon | |
| 3.png | props, move | 14.7 K | 20 Mar 2008 - 03:23 | brandon | |
| M5FlickrMashup.zip | props, move | 8.2 K | 20 Mar 2008 - 20:25 | dma | |
| Picture_1.png | props, move | 48.9 K | 17 Sep 2007 - 14:15 | ngawor | |
| Picture_2.png | props, move | 42.3 K | 17 Sep 2007 - 15:07 | ngawor | |
| Picture_3.png | props, move | 52.5 K | 17 Sep 2007 - 15:08 | ngawor | |
| booksDemo.JPG | props, move | 42.2 K | 14 Sep 2007 - 15:41 | steveims | |
| booksDemoCreate.JPG | props, move | 64.9 K | 14 Sep 2007 - 15:50 | steveims | |
| booksHome.jpg | props, move | 910.8 K | 13 Dec 2007 - 16:59 | dma | |
| createNewBook.jpg | props, move | 1552.3 K | 13 Dec 2007 - 17:06 | dma | |
| flickr.test-2.0.0.0.zip | props, move | 4.7 K | 17 Nov 2008 - 14:18 | brettk | New Flickr Test |
| pzTeamPhotos.bmp | props, move | 3051.6 K | 20 Mar 2008 - 20:39 | dma | |
| zeroAdminHome.bmp | props, move | 2833.1 K | 30 Jul 2008 - 18:47 | dma | |
r41 - 17 Nov 2008 - 16:25:16 - brettk
|
|
|
| | |