Tests/Browse693: Difference between revisions

From OLPC
Jump to navigation Jump to search
(initial push)
 
(fix cat)
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category: Test plans]]
[[Category: Test Plans]]


The Browse test case is trying to simulate an every day usage of this activity including sharing a session.
The Abiword Test Case is supposed to simulate student writing a paper for a class. The paper contains the child's name and the date, a title, a few lines of text, an image, and a table.


==Open the Browse Activity==
==Open the activity==
Justification: [[HIG]] for startup, self for remaining
Justification: [[HIG]] for startup


Actions:
Actions:
# Start the Browse activity by clicking on the corresponding icon on the taskbar.
# start the Browse activity by clicking on the corresponding icon on the taskbar.
Verify:
Verify:
* That the Browse icon is added to the activity donut.
* that the Browse icon is added to the activity doughnut.
* That the Browse icon pulses to indicate the activity starting up.
* that the Browse icon pulses to indicate the activity starting up.
* That the Browse activity starts properly.
* that the Browse activity starts properly.
* That the window shows the start page of the OLPC library, and defaults to the "Browse" tab. ***
* that the window shows the start page of the OLPC library, and defaults to the "Browse" tab.


==Load a page==
==Load a page==
Justification:
Justification:


Actions:
Actions (load page):
# Double click in the entry field at the top.
# double click in the entry field at the top.
# Type the address of the page you want to load, then press enter.
# type the address of the page you want to load, then press enter.
Verify:
Verify:
* That the reload button next to the entry field changes and the possible option is stop.
* that the reload button next to the entry field changes and the possible option is stop.
Actions:
Actions (stop loading):
# Load a page and while loading hit the stop button on the left to the entry field.
# load a page and while loading hit the stop button on the left to the entry field.
Verify:
Verify:
* The loading of the page should stop.
* the loading of the page should stop.
Actions:
Actions (back/forward button):
# load page and click on a couple of links
# Use the back button to go back to the previously loaded page
# use the back button palette to select a previously visited page
# use the forward button palette to select a previously visited page
Verify:
* you can go back and forth in the browsing history
Actions (reload page):
# load a page that changes often (e.g. newsticker)
# use the reload button to update the page
Verify:
* the page contains the new data


==Check text storage==
==Check session storage==
Justification: [[HIG]]
Justification: [[HIG]]


Actions:
Actions:
# Switch to the journal.
# switch to the journal (you can use the magnifier key on the keyboard for that).
Verify:
Verify:
* That an entry has been added for your Browse activity session.
* that an entry has been added for your Browse activity session.
* That a preview of the page loaded last is properly displayed.
* that a preview of the page loaded last is properly displayed.


==Using Copy and Paste==
==View source==
Justification: [http://wiki.laptop.org/go/Browse#View_Source View Source]


Actions (save):
Justification: http://wiki.laptop.org/go/Image:Activity_write_edit.jpg, Self
# hit the "view source" shortcut (fn+space) or (ctrl+u).
Verify:
* the source of the web page is saved to the datastore and the entry of this object in the journal will be displayed.
* the title of the entry should be in the form: "Source: [Title]"
Actions (edit/view):
# resume the source entry with Write
# change for example the title of the page and close Write
# resume the entry with Browse again and check if the modified title is displayed fine
Verify:
* that the modifications have been taken effect when you interpret the source with Browse. Note that only the source will be saved not the images included in a page. Your modified page will likely look slightly different than the one you see when you load it from the Internet.


==Copy and paste==
Actions:

# Choose a word you typed, and then click on the Edit tab.
Justification:
# Press the Copy button or (ctrl c)

# Deselect your text and click somewhere else in the window.
Action (copy text from Browse to Write using the clipboard):
# Press the Paste button or (ctrl p)
# highlight text on a page and use (ctrl+c) to copy it. (The frame will show up shortly containing the new text entry)
# Press the undo button or (ctrl z)
# drag it into a Write document
# use the 'Open' menu entry of the clipboard entry to open it with Write
# use (ctrl+v) to paste it into Write
Verify:
Verify:
* that the Frame shows up shortly
* That the Copy and Paste buttons become highlighted when you mouse over them and when you click them.
* that the text is copied into Write
* That your text deselects properly when you click away from it.
* That your text appears properly where you clicked when you paste it.
* That the text you just pasted goes away when the undo button is hit.


Action (open an url from Chat in Browse):
# type an url (e.g. dev.laptop.org) in the Chat activity
# hover over the entry and use the menu entry 'Copy to Clipboard' to add it to the clipboard
# use 'Open' in the clipboard entry to start another Browse instance with this link
Verify:
* the clipboard entry gets created
* the desired page is loaded fine in Browse

Action (Open an url from Write in Browse):
# in Write type in an url (e.g. dev.laptop.org) and copy it using (ctrl+c) (this will create another clipboard entry)
# use (ctrl+v) in the navigator entry of Browse to paste the url
Verify:
* the clipboard entry gets created
* you can paste the url into the navigator entry in Browse

Action (Copy text from Write to Browse):
You can copy any text using the shortcut combination (ctrl+c) and (ctrl+v) from Write to the Browse activity.
# in Write highlight the desired text and use (ctrl+c) to copy the text (this will create another clipboard entry)
# use (ctrl+v) to paste the text in Browse. (For example paste the text in a wiki page (e.g. http://en.wikipedia.org/wiki/Wikipedia:Sandbox))
Verify:
* the clipboard entry gets created
* you can paste the text into Browse


==Using the View tools==
==Using the view tools==
Justification:
Justification:

Actions (zoom in/out):
# click on the "View" tab
# press the + and - magnifying glass buttons to zoom in and out.
# use the shortcuts (ctrl++) and (ctrl+-) to zoom in and out
Verify:
* that you can zoom in and out of a page using the buttons and the shortcuts
Actions (fullscreen):
# fullscreen mode: hit the button in the View tab or use the shortcut (alt+enter)
# normal mode: hit the floating button on the top right or use (alt+enter)
Verify:
* that the toolbox at the top and the tray at the bottom are hidden
* that the toolbox at the top and the tray at the bottom are shown
Actions (show/hide tray):
# show the tray: hit the 'hide tray' button in the View tab or use the shortcut (alt+space)
# hide the tray: hit the 'show tray' button on the top right or use (alt+space)
Verify:
* that the tray at the bottom is hidden
* that the tray at the bottom is shown

==Download a file==
Justification: http://wiki.laptop.org/go/Browse#Downloads


Actions:
Actions:
# Download a file and resume it with an activity
# Click on the "View" tab
# Cancel a download of a big file in the journal
# Press the + and - magnifying glass buttons to zoom in and out.
# Use the shortcuts ctrl++ and ctrl+- to do the same action
Verify:
Verify:
* The behavior should be like described here: http://wiki.laptop.org/go/Browse#Downloads
* That you can zoom in and out of a page

==Install an activity==
Justification: http://wiki.laptop.org/go/Browse#Install_an_activity

Actions:
Actions:
# Download an activity (i.e. http://wiki.laptop.org/go/Moon)
*
# Launch the activity
Verify:
* the journal entry should get created
* you should be able to launch it
The behavior should be like described here: http://wiki.laptop.org/go/Browse#Install_an_activity


==Name the Session==
==Test Popups==
Action:
Justification: Self
# load http://dev.laptop.org/~erikos/wanted.html
Verify:
* We do allow wanted popups (user clicks on link) and display it in the same window. You can go back to the old page using the back button.

Action:
#load http://dev.laptop.org/~erikos/unwanted.html
Verify:
* Unwanted popups are blocked by design. (e.g. a popup that is opened when you load a page for example)

==Name the session==
Justification:


Actions:
Actions:
# Click the Activity tab.
# click the Activity tab.
# Type a new name for this Session.
# type a new name for this Session.
# Click "Stop" to exit.
# click "Stop" to exit.
# Switch to the Journal
# switch to the Journal


Verify:
Verify:
* The default name "Browse Activity" (step 1).
* the default name "Browse Activity" (step 1).
* That typing right after clicking the Activity tab overwrites the words "Write Activity" or the previous document name
* that typing right after clicking the Activity tab overwrites the words "Browse Activity" or the previous document name
* That the new name appears in the Journal
* that the new name appears in the Journal


==Close the Browse activity==
==Close the activity==
Justification: Self
Justification:


Actions:
Actions:
# Switch to the Activity tab.
# switch to the Activity tab.
# Click the X button in the top right corner.
# click the X button in the top right corner.
# You can use as well the shortcuts ctrl+q or ctrl+esc to quit the activity
# you can use as well the shortcuts (ctrl+q) or (ctrl+esc) to quit the activity
Verify:
Verify:
* That clicking the X button closes the Browse activity.
* that clicking the X button closes the Browse activity.
* That the Browse icon disappears from the activity donut.
* that the Browse icon disappears from the activity doughnut.


==Resume a Session==
==Resume a session==
Justification: [[HIG]]
Justification: [[HIG]]


Actions:
Actions:
# Switch to the Journal.
# switch to the Journal.
# Find the entry for your Browse session.
# find the entry for your Browse session.
# Either click on the 'direct launcher' at the right of the entry or
# either click on the 'direct launcher' at the right of the entry or
# Click on the entry and use the "Resume" button to resume the entry with the desired activity.
# click on the entry and use the "Resume" button to resume the entry with the desired activity.
Verify:
Verify:
* That your entry in the Journal is still present and has updated the preview to indicate your new work.
* that your entry in the Journal is still present and has updated the preview to indicate your new work.
* That Resuming your Browse session opens Browse and loads the last session properly.
* that resuming your Browse session loads the last session properly.


==Collaboration==
==Collaboration==
Line 108: Line 192:


Actions:
Actions:
# Go to the Activity tab
# go to the Activity tab
# Click the Share button in the upper right hand corner.
# click the Share button in the upper right hand corner.
# Have another member of the local mesh join your activity.
# have another member of the local mesh join your activity.
# Switch back to the Write activity, then wait and see if the user you invited can make edits to it.
# switch back to the Write activity, then wait and see if the user you invited can make edits to it.
Verify:
Verify:
* That the user is able to join your shared Browse session
* that the user is able to join your shared Browse session
* That the user is able to collaborate on the Browse session with you (create session Bookmarks).
* that the user is able to collaborate on the Browse session with you (create session Bookmarks).
* That the user's icon is added to the right side of the frame (Friends frame). (when you press the view sidebars key)
* that the user's icon is added to the right side of the frame (Friends frame). (when you press the view sidebars key)
* That a Browse activity icon appears in the Neighborhood view, with your icon and the icon of the other user grouped around it
* that a Browse activity icon appears in the Neighborhood view, with your icon and the icon of the other user grouped around it

Latest revision as of 05:26, 22 March 2008


The Browse test case is trying to simulate an every day usage of this activity including sharing a session.

Open the activity

Justification: HIG for startup

Actions:

  1. start the Browse activity by clicking on the corresponding icon on the taskbar.

Verify:

  • that the Browse icon is added to the activity doughnut.
  • that the Browse icon pulses to indicate the activity starting up.
  • that the Browse activity starts properly.
  • that the window shows the start page of the OLPC library, and defaults to the "Browse" tab.

Load a page

Justification:

Actions (load page):

  1. double click in the entry field at the top.
  2. type the address of the page you want to load, then press enter.

Verify:

  • that the reload button next to the entry field changes and the possible option is stop.

Actions (stop loading):

  1. load a page and while loading hit the stop button on the left to the entry field.

Verify:

  • the loading of the page should stop.

Actions (back/forward button):

  1. load page and click on a couple of links
  2. use the back button palette to select a previously visited page
  3. use the forward button palette to select a previously visited page

Verify:

  • you can go back and forth in the browsing history

Actions (reload page):

  1. load a page that changes often (e.g. newsticker)
  2. use the reload button to update the page

Verify:

  • the page contains the new data

Check session storage

Justification: HIG

Actions:

  1. switch to the journal (you can use the magnifier key on the keyboard for that).

Verify:

  • that an entry has been added for your Browse activity session.
  • that a preview of the page loaded last is properly displayed.

View source

Justification: View Source

Actions (save):

  1. hit the "view source" shortcut (fn+space) or (ctrl+u).

Verify:

  • the source of the web page is saved to the datastore and the entry of this object in the journal will be displayed.
  • the title of the entry should be in the form: "Source: [Title]"

Actions (edit/view):

  1. resume the source entry with Write
  2. change for example the title of the page and close Write
  3. resume the entry with Browse again and check if the modified title is displayed fine

Verify:

  • that the modifications have been taken effect when you interpret the source with Browse. Note that only the source will be saved not the images included in a page. Your modified page will likely look slightly different than the one you see when you load it from the Internet.

Copy and paste

Justification:

Action (copy text from Browse to Write using the clipboard):

  1. highlight text on a page and use (ctrl+c) to copy it. (The frame will show up shortly containing the new text entry)
  2. drag it into a Write document
  3. use the 'Open' menu entry of the clipboard entry to open it with Write
  4. use (ctrl+v) to paste it into Write

Verify:

  • that the Frame shows up shortly
  • that the text is copied into Write

Action (open an url from Chat in Browse):

  1. type an url (e.g. dev.laptop.org) in the Chat activity
  2. hover over the entry and use the menu entry 'Copy to Clipboard' to add it to the clipboard
  3. use 'Open' in the clipboard entry to start another Browse instance with this link

Verify:

  • the clipboard entry gets created
  • the desired page is loaded fine in Browse

Action (Open an url from Write in Browse):

  1. in Write type in an url (e.g. dev.laptop.org) and copy it using (ctrl+c) (this will create another clipboard entry)
  2. use (ctrl+v) in the navigator entry of Browse to paste the url

Verify:

  • the clipboard entry gets created
  • you can paste the url into the navigator entry in Browse

Action (Copy text from Write to Browse): You can copy any text using the shortcut combination (ctrl+c) and (ctrl+v) from Write to the Browse activity.

  1. in Write highlight the desired text and use (ctrl+c) to copy the text (this will create another clipboard entry)
  2. use (ctrl+v) to paste the text in Browse. (For example paste the text in a wiki page (e.g. http://en.wikipedia.org/wiki/Wikipedia:Sandbox))

Verify:

  • the clipboard entry gets created
  • you can paste the text into Browse

Using the view tools

Justification:

Actions (zoom in/out):

  1. click on the "View" tab
  2. press the + and - magnifying glass buttons to zoom in and out.
  3. use the shortcuts (ctrl++) and (ctrl+-) to zoom in and out

Verify:

  • that you can zoom in and out of a page using the buttons and the shortcuts

Actions (fullscreen):

  1. fullscreen mode: hit the button in the View tab or use the shortcut (alt+enter)
  2. normal mode: hit the floating button on the top right or use (alt+enter)

Verify:

  • that the toolbox at the top and the tray at the bottom are hidden
  • that the toolbox at the top and the tray at the bottom are shown

Actions (show/hide tray):

  1. show the tray: hit the 'hide tray' button in the View tab or use the shortcut (alt+space)
  2. hide the tray: hit the 'show tray' button on the top right or use (alt+space)

Verify:

  • that the tray at the bottom is hidden
  • that the tray at the bottom is shown

Download a file

Justification: http://wiki.laptop.org/go/Browse#Downloads

Actions:

  1. Download a file and resume it with an activity
  2. Cancel a download of a big file in the journal

Verify:

Install an activity

Justification: http://wiki.laptop.org/go/Browse#Install_an_activity

Actions:

  1. Download an activity (i.e. http://wiki.laptop.org/go/Moon)
  2. Launch the activity

Verify:

  • the journal entry should get created
  • you should be able to launch it

The behavior should be like described here: http://wiki.laptop.org/go/Browse#Install_an_activity

Test Popups

Action:

  1. load http://dev.laptop.org/~erikos/wanted.html

Verify:

  • We do allow wanted popups (user clicks on link) and display it in the same window. You can go back to the old page using the back button.

Action:

  1. load http://dev.laptop.org/~erikos/unwanted.html

Verify:

  • Unwanted popups are blocked by design. (e.g. a popup that is opened when you load a page for example)

Name the session

Justification:

Actions:

  1. click the Activity tab.
  2. type a new name for this Session.
  3. click "Stop" to exit.
  4. switch to the Journal

Verify:

  • the default name "Browse Activity" (step 1).
  • that typing right after clicking the Activity tab overwrites the words "Browse Activity" or the previous document name
  • that the new name appears in the Journal

Close the activity

Justification:

Actions:

  1. switch to the Activity tab.
  2. click the X button in the top right corner.
  3. you can use as well the shortcuts (ctrl+q) or (ctrl+esc) to quit the activity

Verify:

  • that clicking the X button closes the Browse activity.
  • that the Browse icon disappears from the activity doughnut.

Resume a session

Justification: HIG

Actions:

  1. switch to the Journal.
  2. find the entry for your Browse session.
  3. either click on the 'direct launcher' at the right of the entry or
  4. click on the entry and use the "Resume" button to resume the entry with the desired activity.

Verify:

  • that your entry in the Journal is still present and has updated the preview to indicate your new work.
  • that resuming your Browse session loads the last session properly.

Collaboration

Justification: HIG

Actions:

  1. go to the Activity tab
  2. click the Share button in the upper right hand corner.
  3. have another member of the local mesh join your activity.
  4. switch back to the Write activity, then wait and see if the user you invited can make edits to it.

Verify:

  • that the user is able to join your shared Browse session
  • that the user is able to collaborate on the Browse session with you (create session Bookmarks).
  • that the user's icon is added to the right side of the frame (Friends frame). (when you press the view sidebars key)
  • that a Browse activity icon appears in the Neighborhood view, with your icon and the icon of the other user grouped around it