Tests/Browse 690: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
* [[User Stories Testing]]
* [[User Stories Testing]]


==Start the Browse activity==


==Test Cases / Results==
Justification: [[HIG]]


{| border=1 cellspacing=2 cellpadding=2
Actions:
|- style="background:lightgray"
# Click on the Browse activity icon
! Action !! Result

|- style="background:lightgray"
Verify:
| This is what a successful test looks like. || <span style="color:green">pass</span>
* A Browse icon is added to the activity ring
|- style="background:lightgray"
* The Browse icon throbs to indicate the activity is starting
| This is what a failed test looks like. || <span style="color:red">fail, [http://dev.laptop.org/ticket/1 bug report]</span>
* The Browse activity starts
|-

|colspan="2"| '''Start the Browse activity''': click on the activity icon.

|-
==Go to some URLs==
| The icon appears in the activity donut, and pulses during activity startup. || -

|-
Justification: Self; Spec
| The activity opens properly. || -

|-
Actions:
| colspan="2"|'''Visit some URLS''':
# Enter a URL in the location field
|-
# Hit the Enter key on the keyboard
| Google Calendar || -
# Try these URLs...
|-
## Google Calendar
## iGoogle
| iGoogle || -
|-
## http://www.radioblogclub.com
## http://ds9.ssl.berkeley.edu/auroras
| http://www.radioblogclub.com || -
|-
## http://www.flash-game.net
| http://ds9.ssl.berkeley.edu/auroras || -
## http://www.petloveshack.com/tideshow2.html
|-
## Try a secure web page (https)
| http://www.flash-game.net || -

|-
Verify:
| http://www.petloveshack.com/tideshow2.html || -
* The web page for the URL is displayed
|-
* The URL is listed in the Browse activity entry in the Jornal
| Try a secure web page (https) || -
* The problematic urls (iGoogle, Google Calendar, etc) don't break the browser
|-

|colspan="2"| '''Closing the activity''': click the X in the upper-right-hand corner of the activity.
==Go back in the history==
|-

| The activity closes properly. || -
Justification: Self; Spec
|-

| The icon disappears from the activity donut. || -
Actions:
|-
# Goto a new webpage (click on a link)
|colspan="2"| '''Journal functionality''': open the journal activity.
# Click on the Back button
|-

| A journal entry for the previous activity session appears. || -
Verify:
|-
* The first webpage visited is displayed
| Clicking on the journal entry restores the activity to appropriate URL. || -

|-

|colspan="2"| '''Browser Back/Forward Button''': Go back and forward.
==Go forward in the history==
|-

| Goto a webpage and click on a couple of links || -
Justification: Self; Spec
|-

| Use the Back arrow to go back to the home page || -
Actions:
|-
# Click on the Forward button
| Use the Forward arrow to go forward one page || -

|-
Verify:
|colspan="2"| '''Reload Page''': Reload a page.
* The second webpage visited is displayed
|-

| Type in a url; and click on a link. || -

|-
==Reload a page==
| Click on the reload button. || -

|-
Justification: Self; Spec
|colspan="2"| '''Save a bookmark'''

|-
Actions:
| Type in a url; wait for page to load. click on star to save url || -
# Click on the Reload button
|-

| Click various links. Then click on the saved book mark || -
Verify:
|-
* The current webpage is refreshed
| Close the browser. Goto the journal and resume this browser session || -

|-

| Click on the bookmark to resume session. || -
==Open a new tab==
|-

|colspan="2"| '''Share a bookmark''': share with neighborhood
Justification: Self; Spec
|-

| Type in a URL to browse to a site. Click on the pulldown to share with neighborhood || -
Actions:
|-
# Open a new tab (how?)
| Open the shared browser link from a second XO. || -

|-
Verify:
| Click on the 'star' to save the link. It should show up in both XO bookmark frames || -
* New tab appears at the bottom of browsing area.
|-

|colspan="2"| '''Copy text from browser to clipboard'''

|-
==Create a bookmark==
| From a webpage, highlight text and use CTL-C to copy || -

|-
Justification: Self; Spec
| A new text doc shows up in the clipboard. Drag it into a Write doc to see it. || -

|-
Actions:
| From the write document, create a url; copy it from Write using CTL-C; use CTL-V in the browse url window. || -
# Click on the "star" icon
|-

|colspan="2"| '''Close the Browser'''
Verify:
|-
* A bookmark shows up in the history
| Close the browser using the 'X' button in upper right || -
* Bookmark is added to the Journal session entry
|}


==Share bookmark==

Justification: Spec

Actions:
# Share a bookmark (how?)

Verify:
* Bookmark (star) shows up in bottom tray

==Clipboard interaction==

Justification: Spec

Actions:
# Select text and copy to clipboard
# Copy text from clipboard into a text form
# Copy (or save) an image to the clipboard (or Journal)

Verify:
* copy works (both directions); check formatting of rich text, unicode, embedded markup, etc.

==Search web==

Justification: Self; Spec

Actions:

Verify:


==History==
{{Pending|(Note: this is horrible incomplete. The history is complex)}}

Justification: Spec

Actions:
# Click on the "clock" icon

Verify:
* unshared links are listed
* bookmarks are listed
* shared links are listed
* searches are listed
* items can be grouped by site
* items can be grouped by time (hour,day,week)
* the history can be searched


==View pages offline==

Justification: Spec

Actions:
# Go offline
# Revisit a page that you previously visited while online


Verify:
* A notice is displayed that the page is cached and its age is given.
* The page is still accessible
* Link to non-cached pages are identifed as unreachable


==Go back online==

Justification: Spec

Actions:
# Go online
# Revisit a cached page

Verify:
* Page should display the online version


==Handheld mode (Note: again, this is very complex and tangent to other tests)==

Justification: Spec

*Basic navigation
*Panning overlay
*TOC overlay
*Navigation overlay
*Shared link overlay


==Close the activity==

Justification: Self

Actions:
# Click on the Close button

Verify:
* The activity exits
* The Browse icon is removed from the activity ring


[[Category: Test plans]]
[[Category: Test plans]]

Revision as of 18:31, 12 November 2007

Sources


Test Cases / Results

Action Result
This is what a successful test looks like. pass
This is what a failed test looks like. fail, bug report
Start the Browse activity: click on the activity icon.
The icon appears in the activity donut, and pulses during activity startup. -
The activity opens properly. -
Visit some URLS:
Google Calendar -
iGoogle -
http://www.radioblogclub.com -
http://ds9.ssl.berkeley.edu/auroras -
http://www.flash-game.net -
http://www.petloveshack.com/tideshow2.html -
Try a secure web page (https) -
Closing the activity: click the X in the upper-right-hand corner of the activity.
The activity closes properly. -
The icon disappears from the activity donut. -
Journal functionality: open the journal activity.
A journal entry for the previous activity session appears. -
Clicking on the journal entry restores the activity to appropriate URL. -
Browser Back/Forward Button: Go back and forward.
Goto a webpage and click on a couple of links -
Use the Back arrow to go back to the home page -
Use the Forward arrow to go forward one page -
Reload Page: Reload a page.
Type in a url; and click on a link. -
Click on the reload button. -
Save a bookmark
Type in a url; wait for page to load. click on star to save url -
Click various links. Then click on the saved book mark -
Close the browser. Goto the journal and resume this browser session -
Click on the bookmark to resume session. -
Share a bookmark: share with neighborhood
Type in a URL to browse to a site. Click on the pulldown to share with neighborhood -
Open the shared browser link from a second XO. -
Click on the 'star' to save the link. It should show up in both XO bookmark frames -
Copy text from browser to clipboard
From a webpage, highlight text and use CTL-C to copy -
A new text doc shows up in the clipboard. Drag it into a Write doc to see it. -
From the write document, create a url; copy it from Write using CTL-C; use CTL-V in the browse url window. -
Close the Browser
Close the browser using the 'X' button in upper right -